Fix "Download path missing" for Portable App first run
Create "Portable Settings/Downloads" folder to prevent "Download path missing" warning.
This commit is contained in:
@@ -490,6 +490,9 @@ function buildWin32 (cb) {
|
||||
var portablePath = path.join(filesPath, 'Portable Settings')
|
||||
mkdirp.sync(portablePath)
|
||||
|
||||
var downloadsPath = path.join(portablePath, 'Downloads')
|
||||
mkdirp.sync(downloadsPath)
|
||||
|
||||
var archStr = destArch === 'ia32' ? '-ia32' : ''
|
||||
|
||||
var inPath = path.join(DIST_PATH, path.basename(filesPath))
|
||||
|
||||
Reference in New Issue
Block a user