File tree 2 files changed +15
-6
lines changed
2 files changed +15
-6
lines changed Original file line number Diff line number Diff line change 280
280
</platformTest >
281
281
</ruleList >
282
282
</runProgram >
283
- <xmlFileSet >
284
- <attribute >AbandonProcessGroup</attribute >
285
- <element ></element >
286
- <file >/Users/${system_username}/Library/LaunchAgents/${product_shortname}.plist</file >
287
- <value >true</value >
283
+ <substitute >
284
+ <files >/Users/${system_username}/Library/LaunchAgents/${product_shortname}.plist</files >
285
+ <type >exact</type >
288
286
<ruleList >
289
287
<osxServiceTest >
290
288
<condition >exists</condition >
291
289
<service >${product_shortname}</service >
292
290
</osxServiceTest >
293
291
</ruleList >
294
- </xmlFileSet >
292
+ <substitutionList >
293
+ <substitution >
294
+ <pattern >< key> RunAtLoad< /key> </pattern >
295
+ <value >
296
+ < key> RunAtLoad< /key>
297
+ < true/>
298
+ < key> AbandonProcessGroup< /key> </value >
299
+ </substitution >
300
+ </substitutionList >
301
+ </substitute >
295
302
</postInstallationActionList >
296
303
<preUninstallationActionList >
297
304
<deleteOSXService >
Original file line number Diff line number Diff line change @@ -301,6 +301,8 @@ func restart(path string) {
301
301
} else {
302
302
exePath = path
303
303
}
304
+
305
+ exePath = strings .Trim (exePath , "\n " )
304
306
// figure out garbageCollection flag
305
307
//isGcFlag := "false"
306
308
You can’t perform that action at this time.
0 commit comments