mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2026-08-09 08:14:43 +00:00
fix restart menu options on linux standalone package
This commit is contained in:
@@ -1034,6 +1034,10 @@ public class AppController implements Initializable {
|
||||
cmd.add(System.getProperty(JPACKAGE_APP_PATH));
|
||||
cmd.addAll(args.toParams());
|
||||
final ProcessBuilder builder = new ProcessBuilder(cmd);
|
||||
if(OsType.getCurrent() == OsType.UNIX) {
|
||||
Map<String, String> env = builder.environment();
|
||||
env.remove("LD_LIBRARY_PATH");
|
||||
}
|
||||
builder.start();
|
||||
quit(event);
|
||||
} catch(Exception e) {
|
||||
|
||||
Reference in New Issue
Block a user