Compare commits

..

No commits in common. "4c88c0a7567646218195671fa59789318d4b9d6d" and "c7415036659f122083371368ae1737c490c31da4" have entirely different histories.

2 changed files with 5 additions and 17 deletions

20
main.js
View File

@ -212,22 +212,10 @@ function normalizeApiError(payload, fallback) {
}
function getDefaultLogFilePath() {
// In packaged builds the exe dir is %LOCALAPPDATA%\Programs\Multi-Hoster-Upload
// — a hidden, install-managed location that NSIS may even prune on
// uninstall. Default to the user's Desktop so the file is actually
// findable; fall back to userData if Desktop isn't available, and
// finally to the project dir in dev mode.
if (app.isPackaged) {
try {
const desktop = app.getPath('desktop');
if (desktop) return path.join(desktop, 'fileuploader.log');
} catch {}
try {
return path.join(app.getPath('userData'), 'fileuploader.log');
} catch {}
return path.join(path.dirname(process.execPath), 'fileuploader.log');
}
return path.join(__dirname, 'fileuploader.log');
const baseDir = app.isPackaged
? path.dirname(process.execPath)
: path.join(__dirname);
return path.join(baseDir, 'fileuploader.log');
}
function getBaseLogFilePath() {

View File

@ -1,6 +1,6 @@
{
"name": "multi-hoster-uploader",
"version": "3.3.20",
"version": "3.3.19",
"description": "Upload files to doodstream, voe, vidmoly, byse simultaneously",
"main": "main.js",
"scripts": {