chore: ensure capital drive letter in file manifest
This commit is contained in:
@@ -25,6 +25,14 @@ const manifest = binary.resources,
|
||||
originalRealpathSync = fs.realpathSync,
|
||||
resourceStart = binary.layout.resourceStart
|
||||
|
||||
let log = (text: string) => {
|
||||
if ((process.env.DEBUG || '').toLowerCase().includes('nexe:require')) {
|
||||
process.stderr.write('[nexe] - ' + text + '\n')
|
||||
} else {
|
||||
log = noop
|
||||
}
|
||||
}
|
||||
|
||||
const getKey = process.platform.startsWith('win')
|
||||
? function getKey(filepath: string): string {
|
||||
let key = path.resolve(filepath)
|
||||
@@ -35,14 +43,6 @@ const getKey = process.platform.startsWith('win')
|
||||
}
|
||||
: path.resolve
|
||||
|
||||
let log = (text: string) => {
|
||||
if ((process.env.DEBUG || '').toLowerCase().includes('nexe:require')) {
|
||||
process.stderr.write('[nexe] - ' + text + '\n')
|
||||
} else {
|
||||
log = noop
|
||||
}
|
||||
}
|
||||
|
||||
const statTime = function() {
|
||||
const stat = binary.layout.stat
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user