From da100e210ac84c7b476e519135e531fc4aa0ab68 Mon Sep 17 00:00:00 2001 From: Quentin DECAUNES Date: Mon, 11 Mar 2019 12:57:42 +0100 Subject: [PATCH] Create shortcut only on windows. --- js/app.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/app.js b/js/app.js index d03c6fe..cdd761b 100644 --- a/js/app.js +++ b/js/app.js @@ -9,7 +9,9 @@ ready(function(){ displayVersion(); reApplyPeriodically(require('electron-settings').get('settings.reapply_periodically')); displayOptionDescription(); + if (require('os').platform === 'win32') { recreateShortcut(); + } updatePresetList(); checkForNewRelease(); document.isStarting = false;