diff --git a/assets/scripts/DepotDownloader.exe b/assets/scripts/DepotDownloader.exe new file mode 100644 index 00000000..11c8aa23 Binary files /dev/null and b/assets/scripts/DepotDownloader.exe differ diff --git a/assets/scripts/depot-downloader/DepotDownloader.deps.json b/assets/scripts/depot-downloader/DepotDownloader.deps.json deleted file mode 100644 index 3b286c60..00000000 --- a/assets/scripts/depot-downloader/DepotDownloader.deps.json +++ /dev/null @@ -1,166 +0,0 @@ -{ - "runtimeTarget": { - "name": ".NETCoreApp,Version=v6.0", - "signature": "" - }, - "compilationOptions": {}, - "targets": { - ".NETCoreApp,Version=v6.0": { - "DepotDownloader/2.5.0": { - "dependencies": { - "QRCoder": "1.4.3", - "SteamKit2": "2.5.0-Beta.1", - "protobuf-net": "3.2.16" - }, - "runtime": { - "DepotDownloader.dll": {} - } - }, - "Microsoft.NETCore.Platforms/5.0.0": {}, - "Microsoft.Win32.Registry/5.0.0": { - "dependencies": { - "System.Security.AccessControl": "5.0.0", - "System.Security.Principal.Windows": "5.0.0" - } - }, - "protobuf-net/3.2.16": { - "dependencies": { - "protobuf-net.Core": "3.2.16" - }, - "runtime": { - "lib/net6.0/protobuf-net.dll": { - "assemblyVersion": "3.0.0.0", - "fileVersion": "3.2.16.54102" - } - } - }, - "protobuf-net.Core/3.2.16": { - "dependencies": { - "System.Collections.Immutable": "7.0.0" - }, - "runtime": { - "lib/net6.0/protobuf-net.Core.dll": { - "assemblyVersion": "3.0.0.0", - "fileVersion": "3.2.16.54102" - } - } - }, - "QRCoder/1.4.3": { - "runtime": { - "lib/net6.0/QRCoder.dll": { - "assemblyVersion": "1.4.3.0", - "fileVersion": "1.4.3.0" - } - } - }, - "SteamKit2/2.5.0-Beta.1": { - "dependencies": { - "Microsoft.Win32.Registry": "5.0.0", - "protobuf-net": "3.2.16" - }, - "runtime": { - "lib/net6.0/SteamKit2.dll": { - "assemblyVersion": "2.5.0.0", - "fileVersion": "2.5.0.0" - } - } - }, - "System.Collections.Immutable/7.0.0": { - "dependencies": { - "System.Runtime.CompilerServices.Unsafe": "6.0.0" - }, - "runtime": { - "lib/net6.0/System.Collections.Immutable.dll": { - "assemblyVersion": "7.0.0.0", - "fileVersion": "7.0.22.51805" - } - } - }, - "System.Runtime.CompilerServices.Unsafe/6.0.0": {}, - "System.Security.AccessControl/5.0.0": { - "dependencies": { - "Microsoft.NETCore.Platforms": "5.0.0", - "System.Security.Principal.Windows": "5.0.0" - } - }, - "System.Security.Principal.Windows/5.0.0": {} - } - }, - "libraries": { - "DepotDownloader/2.5.0": { - "type": "project", - "serviceable": false, - "sha512": "" - }, - "Microsoft.NETCore.Platforms/5.0.0": { - "type": "package", - "serviceable": true, - "sha512": "sha512-VyPlqzH2wavqquTcYpkIIAQ6WdenuKoFN0BdYBbCWsclXacSOHNQn66Gt4z5NBqEYW0FAPm5rlvki9ZiCij5xQ==", - "path": "microsoft.netcore.platforms/5.0.0", - "hashPath": "microsoft.netcore.platforms.5.0.0.nupkg.sha512" - }, - "Microsoft.Win32.Registry/5.0.0": { - "type": "package", - "serviceable": true, - "sha512": "sha512-dDoKi0PnDz31yAyETfRntsLArTlVAVzUzCIvvEDsDsucrl33Dl8pIJG06ePTJTI3tGpeyHS9Cq7Foc/s4EeKcg==", - "path": "microsoft.win32.registry/5.0.0", - "hashPath": "microsoft.win32.registry.5.0.0.nupkg.sha512" - }, - "protobuf-net/3.2.16": { - "type": "package", - "serviceable": true, - "sha512": "sha512-W6RM2B2f5O7SigBGfkXFYzI/a7Mks+rCHtuGlE/b5O3NMupDon7I0akjCLhrfcnqIfdWDkDafseav/MnIzUSHA==", - "path": "protobuf-net/3.2.16", - "hashPath": "protobuf-net.3.2.16.nupkg.sha512" - }, - "protobuf-net.Core/3.2.16": { - "type": "package", - "serviceable": true, - "sha512": "sha512-ZFoY0lfMUWGJ4RoyI0oNj2o2l8t08n3k27YyDD0kYWQ+vXj0hTbWEwYWOpGAfCWvyUPkq9Jcc/4uR74GICZL2g==", - "path": "protobuf-net.core/3.2.16", - "hashPath": "protobuf-net.core.3.2.16.nupkg.sha512" - }, - "QRCoder/1.4.3": { - "type": "package", - "serviceable": true, - "sha512": "sha512-fWuFqjm8GTlEb2GqBl3Hi8HZZeZQwBSHxvRPtPjyNbT82H0ff0JwavKRBmMaXCno1Av6McPC8aJzri0Mj2w9Jw==", - "path": "qrcoder/1.4.3", - "hashPath": "qrcoder.1.4.3.nupkg.sha512" - }, - "SteamKit2/2.5.0-Beta.1": { - "type": "package", - "serviceable": true, - "sha512": "sha512-fwwdF0cZZEIdNpcUc1+B9zbP5Q48A3DFOAclPhBh2dMTU03aROaIDktFW+Ww/NN1Z/Emp/LwVqHB+hCM8uxS4Q==", - "path": "steamkit2/2.5.0-beta.1", - "hashPath": "steamkit2.2.5.0-beta.1.nupkg.sha512" - }, - "System.Collections.Immutable/7.0.0": { - "type": "package", - "serviceable": true, - "sha512": "sha512-dQPcs0U1IKnBdRDBkrCTi1FoajSTBzLcVTpjO4MBCMC7f4pDOIPzgBoX8JjG7X6uZRJ8EBxsi8+DR1JuwjnzOQ==", - "path": "system.collections.immutable/7.0.0", - "hashPath": "system.collections.immutable.7.0.0.nupkg.sha512" - }, - "System.Runtime.CompilerServices.Unsafe/6.0.0": { - "type": "package", - "serviceable": true, - "sha512": "sha512-/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==", - "path": "system.runtime.compilerservices.unsafe/6.0.0", - "hashPath": "system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512" - }, - "System.Security.AccessControl/5.0.0": { - "type": "package", - "serviceable": true, - "sha512": "sha512-dagJ1mHZO3Ani8GH0PHpPEe/oYO+rVdbQjvjJkBRNQkX4t0r1iaeGn8+/ybkSLEan3/slM0t59SVdHzuHf2jmw==", - "path": "system.security.accesscontrol/5.0.0", - "hashPath": "system.security.accesscontrol.5.0.0.nupkg.sha512" - }, - "System.Security.Principal.Windows/5.0.0": { - "type": "package", - "serviceable": true, - "sha512": "sha512-t0MGLukB5WAVU9bO3MGzvlGnyJPgUlcwerXn1kzBRjwLKixT96XV0Uza41W49gVd8zEMFu9vQEFlv0IOrytICA==", - "path": "system.security.principal.windows/5.0.0", - "hashPath": "system.security.principal.windows.5.0.0.nupkg.sha512" - } - } -} \ No newline at end of file diff --git a/assets/scripts/depot-downloader/DepotDownloader.dll b/assets/scripts/depot-downloader/DepotDownloader.dll deleted file mode 100644 index 049150fd..00000000 Binary files a/assets/scripts/depot-downloader/DepotDownloader.dll and /dev/null differ diff --git a/assets/scripts/depot-downloader/DepotDownloader.exe b/assets/scripts/depot-downloader/DepotDownloader.exe deleted file mode 100644 index 30eacd56..00000000 Binary files a/assets/scripts/depot-downloader/DepotDownloader.exe and /dev/null differ diff --git a/assets/scripts/depot-downloader/DepotDownloader.pdb b/assets/scripts/depot-downloader/DepotDownloader.pdb deleted file mode 100644 index 1e9f07ed..00000000 Binary files a/assets/scripts/depot-downloader/DepotDownloader.pdb and /dev/null differ diff --git a/assets/scripts/depot-downloader/DepotDownloader.runtimeconfig.json b/assets/scripts/depot-downloader/DepotDownloader.runtimeconfig.json deleted file mode 100644 index 3c15255d..00000000 --- a/assets/scripts/depot-downloader/DepotDownloader.runtimeconfig.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "runtimeOptions": { - "tfm": "net6.0", - "rollForward": "LatestMajor", - "framework": { - "name": "Microsoft.NETCore.App", - "version": "6.0.0" - }, - "configProperties": { - "System.Reflection.Metadata.MetadataUpdater.IsSupported": false - } - } -} \ No newline at end of file diff --git a/assets/scripts/depot-downloader/QRCoder.dll b/assets/scripts/depot-downloader/QRCoder.dll deleted file mode 100644 index a6fabe90..00000000 Binary files a/assets/scripts/depot-downloader/QRCoder.dll and /dev/null differ diff --git a/assets/scripts/depot-downloader/SteamKit2.dll b/assets/scripts/depot-downloader/SteamKit2.dll deleted file mode 100644 index c0384d50..00000000 Binary files a/assets/scripts/depot-downloader/SteamKit2.dll and /dev/null differ diff --git a/assets/scripts/depot-downloader/System.Collections.Immutable.dll b/assets/scripts/depot-downloader/System.Collections.Immutable.dll deleted file mode 100644 index 86773fe8..00000000 Binary files a/assets/scripts/depot-downloader/System.Collections.Immutable.dll and /dev/null differ diff --git a/assets/scripts/depot-downloader/protobuf-net.Core.dll b/assets/scripts/depot-downloader/protobuf-net.Core.dll deleted file mode 100644 index 59ff491c..00000000 Binary files a/assets/scripts/depot-downloader/protobuf-net.Core.dll and /dev/null differ diff --git a/assets/scripts/depot-downloader/protobuf-net.dll b/assets/scripts/depot-downloader/protobuf-net.dll deleted file mode 100644 index 361af4f4..00000000 Binary files a/assets/scripts/depot-downloader/protobuf-net.dll and /dev/null differ diff --git a/package.json b/package.json index 0d563201..e9b34a39 100644 --- a/package.json +++ b/package.json @@ -38,8 +38,7 @@ "extraResources": [ "./assets/favicon.ico", "./assets/jsons/bs-versions.json", - "./assets/jsons/patreons.json", - "./assets/scripts/**" + "./assets/jsons/patreons.json" ], "productName": "BSManager", "appId": "org.erb.BSManager", @@ -51,40 +50,15 @@ ], "afterSign": ".erb/scripts/notarize.js", "afterPack": ".erb/scripts/after-pack.js", - "mac": { - "target": { - "target": "default", - "arch": [ - "arm64", - "x64" - ] - }, - "type": "distribution", - "hardenedRuntime": true, - "entitlements": "assets/entitlements.mac.plist", - "entitlementsInherit": "assets/entitlements.mac.plist", - "gatekeeperAssess": false - }, - "dmg": { - "contents": [ - { - "x": 130, - "y": 220 - }, - { - "x": 410, - "y": 220, - "type": "link", - "path": "/Applications" - } - ] - }, "win": { "target": [ "nsis", "nsis-web" ], - "icon": "assets/favicon.ico" + "icon": "assets/favicon.ico", + "extraResources": [ + "./assets/scripts/*.exe" + ] }, "linux": { "target": [ diff --git a/src/main/services/bs-version-download/bs-steam-downloader.service.ts b/src/main/services/bs-version-download/bs-steam-downloader.service.ts index 2660b929..881f75bc 100644 --- a/src/main/services/bs-version-download/bs-steam-downloader.service.ts +++ b/src/main/services/bs-version-download/bs-steam-downloader.service.ts @@ -41,7 +41,7 @@ export class BsSteamDownloaderService { } private getDepotDownloaderExePath(): string { - return path.join(this.utils.getAssetsScriptsPath(), "depot-downloader", `DepotDownloader.${process.platform === 'linux' ? 'dll' : 'exe'}`); + return path.join(this.utils.getAssetsScriptsPath(), "DepotDownloader.exe"); } public async isDotNet6Installed(): Promise {