mirror of
https://github.com/taigrr/wails.git
synced 2026-04-11 09:31:31 -07:00
Compare commits
2 Commits
update-web
...
485-permis
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c9ea4d8f88 | ||
|
|
fe2c5e8611 |
@@ -34,3 +34,4 @@ Wails is what it is because of the time and effort given by these great people.
|
|||||||
* [Tim Kipp](https://github.com/timkippdev)
|
* [Tim Kipp](https://github.com/timkippdev)
|
||||||
* [Dmitry Gomzyakov](https://github.com/kyoto44)
|
* [Dmitry Gomzyakov](https://github.com/kyoto44)
|
||||||
* [Arthur Wiebe](https://github.com/artooro)
|
* [Arthur Wiebe](https://github.com/artooro)
|
||||||
|
* [Ilgıt Yıldırım](https://github.com/ilgityildirim)
|
||||||
|
|||||||
@@ -216,10 +216,6 @@ func BuildNative(binaryName string, forceRebuild bool, buildMode string, project
|
|||||||
buildCommand.Add("go")
|
buildCommand.Add("go")
|
||||||
|
|
||||||
buildCommand.Add("build")
|
buildCommand.Add("build")
|
||||||
if buildMode == BuildModeBridge {
|
|
||||||
// Ignore errors
|
|
||||||
buildCommand.Add("-i")
|
|
||||||
}
|
|
||||||
|
|
||||||
if binaryName != "" {
|
if binaryName != "" {
|
||||||
// Alter binary name based on OS
|
// Alter binary name based on OS
|
||||||
|
|||||||
@@ -286,5 +286,8 @@ func (s *Store) Update(updater interface{}) {
|
|||||||
results := reflect.ValueOf(updater).Call(args)
|
results := reflect.ValueOf(updater).Call(args)
|
||||||
|
|
||||||
// We will only have 1 result. Set the store to it
|
// We will only have 1 result. Set the store to it
|
||||||
s.Set(results[0].Interface())
|
err = s.Set(results[0].Interface())
|
||||||
|
if err != nil && s.errorHandler != nil {
|
||||||
|
s.errorHandler(err)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user