File tree Expand file tree Collapse file tree
ElectronNET.Samples.ElectronHostHook/Properties Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -167,11 +167,11 @@ private BuildInfo GatherBuildInfo()
167167
168168 if ( isSingleInstance ? . Length > 0 && bool . TryParse ( isSingleInstance , out var isSingleInstanceActive ) && isSingleInstanceActive )
169169 {
170- buildInfo . ElectronSingleInstance = "yes " ;
170+ buildInfo . ElectronSingleInstance = "true " ;
171171 }
172172 else
173173 {
174- buildInfo . ElectronSingleInstance = "no " ;
174+ buildInfo . ElectronSingleInstance = "false " ;
175175 }
176176
177177 if ( httpPort ? . Length > 0 && int . TryParse ( httpPort , out var port ) )
Original file line number Diff line number Diff line change 1+ {
2+ "$schema" : " https://raw.githubusercontent.com/electron-userland/electron-builder/refs/heads/master/packages/app-builder-lib/scheme.json" ,
3+ "compression" : " maximum" ,
4+ "linux" : {
5+ "target" : [
6+ " tar.xz"
7+ ],
8+ "executableArgs" : [ " --no-sandbox" ],
9+ "artifactName" : " ${name}-${arch}-${version}.${ext}"
10+ },
11+ "win" : {
12+ "target" : [
13+ {
14+ "target" : " portable" ,
15+ "arch" : " x64"
16+ }
17+ ]
18+ }
19+ }
You can’t perform that action at this time.
0 commit comments