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:
parent
f9bb83815f
commit
a94fdcae61
1 changed files with 3 additions and 0 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue