mirror of
https://github.com/taigrr/wails.git
synced 2026-04-14 02:48:21 -07:00
Compare commits
2 Commits
feature/wi
...
revert-500
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e11ac15fb6 | ||
|
|
e0aab7c27f |
@@ -33,5 +33,3 @@ Wails is what it is because of the time and effort given by these great people.
|
|||||||
* [artem](https://github.com/Unix4ever)
|
* [artem](https://github.com/Unix4ever)
|
||||||
* [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)
|
|
||||||
* [Ilgıt Yıldırım](https://github.com/ilgityildirim)
|
|
||||||
|
|||||||
@@ -557,7 +557,7 @@ func ldFlags(po *ProjectOptions, buildMode string) string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Add windows flags
|
// Add windows flags
|
||||||
if po.Platform == "windows" {
|
if po.Platform == "windows" && buildMode == BuildModeProd {
|
||||||
ldflags += "-H windowsgui "
|
ldflags += "-H windowsgui "
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ const routes: Routes = [];
|
|||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
RouterModule.forRoot(routes,{useHash:true})
|
RouterModule.forRoot(routes)
|
||||||
],
|
],
|
||||||
exports: [RouterModule]
|
exports: [RouterModule]
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -286,8 +286,5 @@ 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
|
||||||
err = s.Set(results[0].Interface())
|
s.Set(results[0].Interface())
|
||||||
if err != nil && s.errorHandler != nil {
|
|
||||||
s.errorHandler(err)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user