mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2025-11-05 11:56:37 +00:00
fix restart menu options on linux standalone package
This commit is contained in:
parent
49ab9e40e3
commit
cd2a6623a4
1 changed files with 4 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue