mirror of
https://github.com/taigrr/wails.git
synced 2026-04-06 15:12:40 -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)
|
||||
* [Tim Kipp](https://github.com/timkippdev)
|
||||
* [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
|
||||
if po.Platform == "windows" {
|
||||
if po.Platform == "windows" && buildMode == BuildModeProd {
|
||||
ldflags += "-H windowsgui "
|
||||
}
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ const routes: Routes = [];
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
RouterModule.forRoot(routes,{useHash:true})
|
||||
RouterModule.forRoot(routes)
|
||||
],
|
||||
exports: [RouterModule]
|
||||
})
|
||||
|
||||
@@ -286,8 +286,5 @@ func (s *Store) Update(updater interface{}) {
|
||||
results := reflect.ValueOf(updater).Call(args)
|
||||
|
||||
// We will only have 1 result. Set the store to it
|
||||
err = s.Set(results[0].Interface())
|
||||
if err != nil && s.errorHandler != nil {
|
||||
s.errorHandler(err)
|
||||
}
|
||||
s.Set(results[0].Interface())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user