From 17b955d965ec3de533d6018fda962067feb15af1 Mon Sep 17 00:00:00 2001 From: Igor Timofeev Date: Sat, 19 Jan 2019 12:12:42 +0300 Subject: [PATCH] aefae --- Installer/Main.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Installer/Main.lua b/Installer/Main.lua index e5924645..05360047 100644 --- a/Installer/Main.lua +++ b/Installer/Main.lua @@ -210,6 +210,7 @@ local number = require("Number") local screen = require("Screen") local GUI = require("GUI") local system = require("System") +local paths = require("Paths") -------------------------------------------------------------------------------- @@ -515,7 +516,7 @@ addStage(function() paths.create(paths.system) -- Creating user paths - local properties, paths = system.createUser( + local userProperties, userPaths = system.createUser( usernameInput.text, filesystemHideExtension(filesystemName(files.localizations[localizationComboBox.selectedItem])), not passwordSwitchAndLabel.switch.state and passwordInput.text, @@ -581,7 +582,7 @@ addStage(function() -- Create shortcut if possible if shortcut then system.createShortcut( - paths.desktop .. filesystemHideExtension(filesystemName(filesystemPath(path)) .. "/") .. ".lnk", + userPaths.desktop .. filesystemHideExtension(filesystemName(filesystemPath(path)) .. "/") .. ".lnk", OSPath .. filesystemPath(path) ) end