149 Commits

Author SHA1 Message Date
mmvanheusden
1053c7b114 minor fix 2022-07-22 20:48:37 +02:00
mmvanheusden
510d80c58a 2.0.2 2022-07-22 20:20:30 +02:00
mmvanheusden
894197e75e Fix the working directory problem for every platform 2022-07-22 20:18:35 +02:00
mmvanheusden
eca48e2495 Add a notice thing to the youtube tuorial 2022-07-21 09:47:30 +02:00
mmvanheusden
2bd8dc7c41 2.0.1 2022-07-09 09:30:23 +02:00
mmvanheusden
b8eb915788 Add a hacky fix for Windows portable builds
Signed-off-by: mmvanheusden <50550545+mmvanheusden@users.noreply.github.com>
2022-07-09 09:26:40 +02:00
mmvanheusden
5c0fe6fc9a fix badge 2022-07-08 22:05:54 +02:00
mmvanheusden
14ecff0d12 make the GitHub action run on the master branch instead of the rewrite branch 2022-07-08 21:42:51 +02:00
mmvanheusden
9135dbd788 Fix the actions 2022-07-08 21:40:25 +02:00
mmvanheusden
39511b2cbe Merge branch 'rewrite' 2022-07-08 21:37:20 +02:00
mmvanheusden
55db579d88 Fix the github actions build workflow 2 2022-07-08 21:26:19 +02:00
mmvanheusden
8d31196e4d Fix the github actions build workflow 2022-07-08 21:14:24 +02:00
mmvanheusden
49d0378530 add macos commnad 2022-07-08 20:54:38 +02:00
mmvanheusden
67f78a5242 fix workflow 3 2022-07-08 20:45:30 +02:00
mmvanheusden
ed71768d36 fix workflow 2 2022-07-08 20:41:04 +02:00
mmvanheusden
baf017efbd fix workflow 2022-07-08 20:39:33 +02:00
mmvanheusden
567d143cf5 push this as well XD 2022-07-08 20:31:57 +02:00
mmvanheusden
496ad5724b clean 2022-07-08 20:31:26 +02:00
mmvanheusden
76997c1c88 Move utils to utils file 2022-07-08 19:37:29 +02:00
mmvanheusden
6d42c8c886 Merge rewrite into master 2022-07-08 17:50:28 +02:00
mmvanheusden
4c687b3b33 Prepare for first release and block macOS
Signed-off-by: mmvanheusden <50550545+mmvanheusden@users.noreply.github.com>
2022-07-08 17:33:52 +02:00
mmvanheusden
53c7eb9a35 Finalize Windows support 🎉
Signed-off-by: mmvanheusden <50550545+mmvanheusden@users.noreply.github.com>
2022-07-08 17:14:13 +02:00
mmvanheusden
35ceb8ad48 Add untested Windows support 2022-07-08 12:32:00 +02:00
mmvanheusden
d9067650b4 Add contributors info 2022-07-08 12:03:35 +02:00
mmvanheusden
1a3e6d7f04 Rewrite the README 2022-07-08 11:49:52 +02:00
mmvanheusden
33a88f172c Improve the warning banner 2022-07-08 11:22:04 +02:00
mmvanheusden
087e40a705 Make ESLint compatible with nodejs 2022-07-08 11:13:22 +02:00
mmvanheusden
36cadc541a Add a screenshot of the W.I.P rewrite 2022-07-08 11:10:27 +02:00
mmvanheusden
b6852432dd Cleanup .github directory, add .ZIP to gitignore 2022-07-08 11:02:37 +02:00
mmvanheusden
7f6060dc19 Rename index, downloader and update dependencies 2022-07-08 11:00:28 +02:00
mmvanheusden
c4f0177b4a Code the rest and cleanup 2022-07-08 10:27:32 +02:00
mmvanheusden
157a2ecce9 fix the code and add green comments 2022-07-08 09:52:44 +02:00
mmvanheusden
e0f99bd1af start rewrite of entire thing 2022-07-05 14:23:48 +02:00
mmvanheusden
638fef954c Properly center the button 2022-07-01 21:39:15 +02:00
mmvanheusden
cd45a53aee Properly center the button 2022-07-01 21:37:28 +02:00
mmvanheusden
1413a34c69 Add more comments, update Primer CSS, and change var to let 2022-07-01 20:47:10 +02:00
mmvanheusden
0c6a4353a5 Add comments 2022-07-01 20:24:11 +02:00
mmvanheusden
b811201363 ESLint reformat 2022-07-01 20:03:57 +02:00
mmvanheusden
11ab85dbf8 Disable spell checking to form 2022-07-01 20:01:12 +02:00
mmvanheusden
4759a418c6 Revert "Add support for windows (experimental)"
This reverts commit f77477b52e.
2022-07-01 19:17:20 +02:00
mmvanheusden
f77477b52e Add support for windows (experimental) 2022-06-28 17:40:03 +02:00
mmvanheusden
c4df5da15e Add support for linux terminals 2022-06-27 18:45:57 +02:00
mmvanheusden
ca066bcb3c fix actions 3 2022-06-27 15:32:33 +02:00
mmvanheusden
7ed72f79ac fix actions 3 2022-06-26 18:08:12 +02:00
mmvanheusden
7228e4bfbf Update README.md 2022-06-26 18:05:44 +02:00
mmvanheusden
99c97dbfb1 fix actions 2 2022-06-26 17:57:17 +02:00
mmvanheusden
2803eeee08 fix actions 2022-06-26 17:31:45 +02:00
mmvanheusden
c336639baf Add stuff to readme and add github actions 2022-06-26 17:29:41 +02:00
mmvanheusden
2dee6b66dc Add a license, disable resizing, and add a build system 2022-06-26 16:56:21 +02:00
mmvanheusden
7d925ef800 cleanup code 2022-06-26 15:38:47 +02:00
mmvanheusden
f91247c0f0 put everything in a file 2022-06-26 15:10:57 +02:00
mmvanheusden
ad52750cdf 🎉 the downloader works! 2022-06-26 14:56:41 +02:00
mmvanheusden
882f0cbf21 Make the downloader follow redirects 2022-06-26 13:22:45 +02:00
mmvanheusden
6813a268fd IntelliJ cleanup
xD
2022-06-25 20:53:41 +02:00
mmvanheusden
f379eb2e46 Check if dotnet is installed before downloading 2022-06-25 20:52:34 +02:00
mmvanheusden
2cec3f077c Update README.md 2022-06-25 19:40:52 +02:00
mmvanheusden
a385a82773 Merge pull request #22 from SlejmUr/patch-1
[REWRITE] ID's are numbers :)
2022-06-25 19:37:38 +02:00
mmvanheusden
7a6458ce76 Modify the interface a bit 2022-06-25 19:37:14 +02:00
SlejmUr
4eb07780f2 ID's are numbers :)
+added win
2022-06-25 19:12:46 +02:00
mmvanheusden
acba5bf774 download system test 2
not working yet
2022-06-25 18:04:16 +02:00
mmvanheusden
a6115ef016 download system thing 2022-06-25 17:20:42 +02:00
mmvanheusden
878f98bfef Add a linux detector thing 2022-06-25 13:22:07 +02:00
mmvanheusden
f5b6adbdc2 Implement script 2022-06-25 12:06:08 +02:00
mmvanheusden
465111fbdc Create the design 2022-06-25 11:04:17 +02:00
mmvanheusden
3cdb8fe138 Add a README 2022-06-25 09:16:01 +02:00
mmvanheusden
bcde2397cd Update README.md 2022-06-24 22:52:23 +02:00
mmvanheusden
fab7360488 Basic form WIP 2022-06-24 22:17:26 +02:00
mmvanheusden
c6eba0b51b initial init 2022-06-24 21:10:41 +02:00
mmvanheusden
80bdef06c9 Prepare for (possible) rewrite soon™️ 2022-06-24 20:09:13 +02:00
mmvanheusden
7bb99845a5 Merge pull request #19 from morinted/patch-1
Fix support for passwords with spaces and quotes
2022-06-08 07:07:33 +02:00
mmvanheusden
cfc599f753 Merge pull request #20 from SlejmUr/master
Updated to DD 2.4.6
2022-06-08 07:07:09 +02:00
SlejmUr
5c5e6d5b7e Updated to DD 2.4.6 2022-06-07 22:00:48 +02:00
Ted Morin
5347341414 Fix support for passwords with spaces and quotes 2022-02-06 22:48:47 -05:00
Maarten
ae83e0eea9 Update README.md 2021-11-12 19:15:09 +01:00
Maarten
0262e82f3b Delete SECURITY.md
lel
2021-11-05 21:31:12 +01:00
Maarten
4c3e0273d4 Create SECURITY.md 2021-11-05 21:30:34 +01:00
Maarten
d5d8e4112e Update README.md 2021-11-05 21:27:09 +01:00
Maarten van Heusden
d0904e711c Update hero.png 2021-10-31 13:25:15 +01:00
Maarten van Heusden
dd5dc86522 Update downloadGUI.cs 2021-10-31 13:19:31 +01:00
SlejmUr
70c949db02 Merge branch 'master' of https://github.com/SlejmUr/SteamDepotDownloaderGUI 2021-10-29 13:46:42 +02:00
SlejmUr
1a6117c674 Sorry Literally has no idea why Github does this. 2021-10-29 13:46:25 +02:00
SlejmUr
cbab3919b8 Merge branch 'mmvanheusden:master' into master 2021-10-29 13:44:55 +02:00
SlejmUr
72520a9da0 Merge branch 'master' of https://github.com/SlejmUr/SteamDepotDownloaderGUI 2021-10-29 13:41:59 +02:00
SlejmUr
39026d1562 Removed Unneded Lines 2021-10-29 13:40:48 +02:00
SlejmUr
b6e70d5157 Added nice Icon there 2021-10-29 13:37:53 +02:00
SlejmUr
bfdf917c6f Added "Better" checking for username,password,etc
Added InstantSearch + AppName Query
Added MouseHover on AppID TextBox
2021-10-29 13:36:14 +02:00
SlejmUr
a2144e4126 password remember 2021-10-28 15:57:59 +02:00
Maarten
1ab8b6220b Merge pull request #14 from SlejmUr/master
Added icon
2021-10-16 10:04:16 +02:00
SlejmUr
8de8c7f9f8 Added icon
On gui and csproj too
2021-10-15 20:43:41 +02:00
Maarten van Heusden
33d575b334 updated image 2021-10-11 15:31:50 +01:00
Maarten
13bb1d57b9 Merge pull request #13 from nunogois/dark-ui-cleanup
feat: add dark UI, general cleanup
2021-10-11 16:29:12 +02:00
Nuno Góis
6c980628f1 feat: add dark UI, general cleanup 2021-10-10 20:57:47 +01:00
Maarten van Heusden
ff3c7d2cff oops i forgor 💀 to delete the entire folder 2021-10-09 12:01:55 +01:00
Maarten
dc5f38d39e Update README.md 2021-10-09 09:54:33 +00:00
Maarten van Heusden
65793aa6dc small improvements 2021-10-09 10:09:17 +01:00
Maarten van Heusden
1cb7a4f667 do i even need this 2021-10-09 09:52:23 +01:00
Maarten
7d143bbff7 Update codeql-analysis.yml 2021-10-09 08:48:33 +00:00
Maarten van Heusden
f1bec83c03 Fix(hopefully) 2021-10-07 18:16:44 +02:00
Maarten van Heusden
3b187dc717 English corrections
i was bored at school
2021-09-21 11:01:49 +02:00
Maarten van Heusden
54def97c38 UwU 2021-09-06 08:22:14 +02:00
Maarten van Heusden
6296d62089 Update README.md 2021-06-12 17:57:46 +02:00
Maarten van Heusden
36f7432330 Thank you @SlejmUr for your contributions! 2021-06-10 16:08:58 +02:00
Maarten van Heusden
4d4d17df75 Add Bitcoin donation badge 2021-05-25 12:33:47 +02:00
Maarten van Heusden
81267565f5 Merge pull request #10 from maarten46/master
Update README.md
2021-04-09 09:25:29 +02:00
maarten46
bd57a9672f Update README.md 2021-04-09 09:22:48 +02:00
Maarten van Heusden
ecdea58db3 Create CODE_OF_CONDUCT.md 2021-03-21 12:51:26 +01:00
Maarten van Heusden
e45a9253b3 Disable window resizing 2021-03-06 08:50:00 +01:00
Maarten van Heusden
c9cfca688f Rename LICENSE to LICENSE.md 2021-03-01 11:22:26 +01:00
Maarten van Heusden
76668207e3 Create LICENSE 2021-03-01 11:20:46 +01:00
Maarten van Heusden
9c5758aa31 YouTube video image 2021-02-19 08:26:19 +01:00
mmvanheusden
8b818fdc6c Create youtube.png 2021-02-19 08:25:21 +01:00
Maarten van Heusden
c08501d4c4 Add YouTube video 2021-02-19 08:21:17 +01:00
mmvanheusden
e7d48cff39 Update hero.png 2021-02-08 09:01:48 +01:00
mmvanheusden
4e438ebccf Title font 2021-02-08 08:54:36 +01:00
Maarten van Heusden
b3dbcb6bd6 Merge pull request #7 from mmvanheusden/experiments
add submodule...
2021-02-07 14:40:10 +01:00
mmvanheusden
d4bd2d1563 add submodule... 2021-02-07 14:35:18 +01:00
mmvanheusden
1d33578481 added depotdownloader source 2021-02-06 17:02:24 +01:00
Maarten van Heusden
cc4939f75e Update README.md 2021-02-06 16:57:30 +01:00
Maarten van Heusden
aee2e6fea4 Create codeql-analysis.yml 2021-02-06 13:18:09 +01:00
Maarten van Heusden
e9d1cdee2e Update README.md 2021-02-06 11:03:25 +01:00
mmvanheusden
cfdc2659ef Merge branch 'master' of https://github.com/mmvanheusden/SteamDepotDownloaderGUI 2021-02-06 10:54:53 +01:00
mmvanheusden
49380eaed4 :-) 2021-02-06 10:54:43 +01:00
Maarten van Heusden
9700f3de86 Update README.md 2021-02-06 10:48:27 +01:00
Maarten van Heusden
206cd6c0ff Update README.md 2021-02-06 10:44:44 +01:00
mmvanheusden
879210cc43 Update hero.png 2021-02-06 10:43:09 +01:00
mmvanheusden
346babcc4c v1.2.0
Added Help tooltip balloons!
2021-02-06 10:36:40 +01:00
Maarten van Heusden
1193240e5f Delete .travis.yml 2021-02-05 15:02:15 +01:00
Maarten van Heusden
6cd89382a3 Update .travis.yml 2021-02-05 14:57:15 +01:00
Maarten van Heusden
f5f32d4d32 Update .travis.yml 2021-02-05 14:56:16 +01:00
Maarten van Heusden
7ba7eefac2 Create .travis.yml 2021-02-05 14:53:16 +01:00
Maarten van Heusden
d8ea1035ff Update README.md 2021-02-05 13:47:34 +01:00
mmvanheusden
ad16008629 more text, more improvements 2021-02-05 12:32:38 +01:00
mmvanheusden
8bcd7ec8c5 VS Commit 1 2021-02-05 10:35:12 +01:00
mmvanheusden
2219ebdb3a Revert "test commit from VS"
This reverts commit ba1f95be23.
2021-02-05 10:30:32 +01:00
mmvanheusden
ba1f95be23 test commit from VS 2021-02-05 10:29:22 +01:00
mmvanheusden
fb4e1d57e6 Updated Fonts 2021-02-05 10:16:49 +01:00
Maarten van Heusden
0fe470eab3 Update issue templates 2021-02-05 08:48:20 +01:00
mmvanheusden
3a538e1f95 Update README.md 2021-02-05 08:37:40 +01:00
mmvanheusden
336510f27a fix image
oops...
2021-02-05 08:33:29 +01:00
mmvanheusden
e2cc27b801 image 2021-02-05 08:32:46 +01:00
mmvanheusden
0ebfa30df9 v1.0.1 2021-02-05 08:27:01 +01:00
mmvanheusden
dcdb5c7b54 v1.0.0 2021-02-04 19:39:00 +01:00
Maarten van Heusden
3bba9019ac v1.0.0 2021-02-04 18:46:28 +01:00
Maarten van Heusden
e1215d80b8 a brand new C# version will follow. stay tuned for that! 2021-02-04 17:51:15 +01:00
Maarten van Heusden
2547fdc918 Update README.md 2021-02-04 17:50:48 +01:00
Maarten van Heusden
098697ee26 The Python version is now depricated but...
a brand new C# version will follow.
stay tuned for that!
2021-02-04 17:49:42 +01:00
Maarten van Heusden
5d539ae773 new banner 2021-02-03 09:01:14 +01:00
Maarten van Heusden
0be48fe490 fix password input field 2021-02-03 08:55:09 +01:00
Maarten van Heusden
97231b646a Disable window resize 2021-01-25 16:22:28 +01:00
37 changed files with 7702 additions and 1944 deletions

21
.eslintrc.yml Normal file
View File

@@ -0,0 +1,21 @@
env:
browser: true
es2021: true
node: true
extends: eslint:recommended
parserOptions:
ecmaVersion: latest
sourceType: module
rules:
indent:
- error
- tab
linebreak-style:
- error
- unix
quotes:
- error
- double
semi:
- error
- never

View File

@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.

45
.github/workflows/build.yml vendored Normal file
View File

@@ -0,0 +1,45 @@
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: macos-latest
steps:
- name: Check out repositoty
uses: actions/checkout@v3
- name: Set up nodejs
uses: actions/setup-node@v3
with:
node-version: 18
- name: Set up npm project
run: npm install
- name: build project
run: npm run buildall
- name: Move x64 exe
run: cp ./dist/SteamDepotDownloaderGUI*.exe ./SteamDepotDownloaderGUI-${{ github.run_number }}.exe
- name: Move x64 AppImage
run: cp `ls -d1 dist/* | grep -E "SteamDepotDownloaderGUI-[0-9]+\.[0-9]+\.[0-9]+\.AppImage"` ./SteamDepotDownloaderGUI-${{ github.run_number }}.AppImage
- name: Move x64 zip
run: cp `ls -d1 dist/* | grep -E "steamdepotdownloadergui-[0-9]+\.[0-9]+\.[0-9]+\.zip"` ./SteamDepotDownloaderGUI-${{ github.run_number }}.zip
- name: Move arm64 AppImage
run: cp `ls -d1 dist/* | grep -E "SteamDepotDownloaderGUI-[0-9]+\.[0-9]+\.[0-9]+\-arm64.AppImage"` ./SteamDepotDownloaderGUI-${{ github.run_number }}.AppImage
- name: Move arm64 zip
run: cp `ls -d1 dist/* | grep -E "steamdepotdownloadergui-[0-9]+\.[0-9]+\.[0-9]+\-arm64.zip"` ./SteamDepotDownloaderGUI-${{ github.run_number }}-arm64.zip
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: SteamDepotDownloaderGUI-${{ github.run_number }}
path: SteamDepotDownloaderGUI-${{ github.run_number }}*.*

246
.gitignore vendored
View File

@@ -1,151 +1,141 @@
# Created by .ignore support plugin (hsz.mobi)
### Python template
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# C extensions
*.so
# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg
# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec
# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*,cover
.hypothesis/
# Translations
*.mo
*.pot
# Django stuff:
# Logs
logs
*.log
local_settings.py
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*
# Flask stuff:
instance/
.webassets-cache
# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
# Scrapy stuff:
.scrapy
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Sphinx documentation
docs/_build/
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# PyBuilder
target/
# Coverage directory used by tools like istanbul
coverage
*.lcov
# IPython Notebook
.ipynb_checkpoints
# nyc test coverage
.nyc_output
# pyenv
.python-version
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# celery beat schedule file
celerybeat-schedule
# Bower dependency directory (https://bower.io/)
bower_components
# dotenv
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# Snowpack dependency directory (https://snowpack.dev/)
web_modules/
# TypeScript cache
*.tsbuildinfo
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Optional stylelint cache
.stylelintcache
# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variable files
.env
.env.development.local
.env.test.local
.env.production.local
.env.local
# virtualenv
venv/
ENV/
# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache
# Spyder project settings
.spyderproject
# Next.js build output
.next
out
# Rope project settings
.ropeproject
### VirtualEnv template
# Virtualenv
# http://iamzed.com/2009/05/07/a-primer-on-virtualenv/
.Python
[Bb]in
[Ii]nclude
[Ll]ib
[Ll]ib64
[Ll]ocal
[Ss]cripts
pyvenv.cfg
.venv
pip-selfcheck.json
### JetBrains template
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
# Nuxt.js build / generate output
.nuxt
dist
# User-specific stuff:
.idea/workspace.xml
.idea/tasks.xml
.idea/dictionaries
.idea/vcs.xml
.idea/jsLibraryMappings.xml
# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public
# Sensitive or high-churn files:
.idea/dataSources.ids
.idea/dataSources.xml
.idea/dataSources.local.xml
.idea/sqlDataSources.xml
.idea/dynamic.xml
.idea/uiDesigner.xml
# vuepress build output
.vuepress/dist
# Gradle:
.idea/gradle.xml
.idea/libraries
# vuepress v2.x temp and cache directory
.temp
.cache
# Mongo Explorer plugin:
.idea/mongoSettings.xml
# Docusaurus cache and generated files
.docusaurus
.idea/
# Serverless directories
.serverless/
## File-based project format:
*.iws
# FuseBox cache
.fusebox/
## Plugin-specific files:
# DynamoDB Local files
.dynamodb/
# TernJS port file
.tern-port
# Stores VSCode versions used for testing VSCode extensions
.vscode-test
# VSCode directory for storing user settings
.vscode
# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
# IntelliJ
/out/
.idea/
# mpeltonen/sbt-idea plugin
.idea_modules/
# JIRA plugin
atlassian-ide-plugin.xml
# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties
# SteamDepotDownloaderGUI specific directories
/depotdownloader/
/games/
*.zip

View File

@@ -1,76 +0,0 @@
# Contributor Covenant Code of Conduct
## Our Pledge
In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, sex characteristics, gender identity and expression,
level of experience, education, socio-economic status, nationality, personal
appearance, race, religion, or sexual identity and orientation.
## Our Standards
Examples of behavior that contributes to creating a positive environment
include:
* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members
Examples of unacceptable behavior by participants include:
* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting
## Our Responsibilities
Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.
Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.
## Scope
This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community. Examples of
representing a project or community include using an official project e-mail
address, posting via an official social media account, or acting as an appointed
representative at an online or offline event. Representation of a project may be
further defined and clarified by project maintainers.
## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at mmvanheusden@gmail.com. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Further details of specific enforcement policies may be posted separately.
Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.
## Attribution
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
[homepage]: https://www.contributor-covenant.org
For answers to common questions about this code of conduct, see
https://www.contributor-covenant.org/faq

View File

@@ -1,92 +0,0 @@
# Contributing
When contributing to this repository, please first discuss the change you wish to make via issue,
email, or any other method with the owners of this repository before making a change.
Please note we have a code of conduct, please follow it in all your interactions with the project.
## Pull Request Process
1. Ensure any install or build dependencies are removed before the end of the layer when doing a
build.
2. Update the README.md with details of changes to the interface, this includes new environment
variables, exposed ports, useful file locations and container parameters.
3. Increase the version numbers in any examples files and the README.md to the new version that this
Pull Request would represent. The versioning scheme we use is [SemVer](http://semver.org/).
4. You may merge the Pull Request in once you have the sign-off of two other developers, or if you
do not have permission to do that, you may request the second reviewer to merge it for you.
## Code of Conduct
### Our Pledge
In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, gender identity and expression, level of experience,
nationality, personal appearance, race, religion, or sexual identity and
orientation.
### Our Standards
Examples of behavior that contributes to creating a positive environment
include:
* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members
Examples of unacceptable behavior by participants include:
* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting
### Our Responsibilities
Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.
Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.
### Scope
This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community. Examples of
representing a project or community include using an official project e-mail
address, posting via an official social media account, or acting as an appointed
representative at an online or offline event. Representation of a project may be
further defined and clarified by project maintainers.
### Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at mmvanheusden@gmail.com. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Further details of specific enforcement policies may be posted separately.
Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.
### Attribution
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
available at [http://contributor-covenant.org/version/1/4][version]
[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/

339
LICENSE
View File

@@ -1,339 +0,0 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Lesser General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.

15
LICENSE.md Normal file
View File

@@ -0,0 +1,15 @@
```
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.
```

View File

@@ -1,62 +1,37 @@
<h1 align="center">SteamDepotDownloaderGUI</h1>
<p align="center">
<img src="https://img.shields.io/badge/status-Beta-blue" />
<img alt="GitHub all releases" src="https://img.shields.io/github/downloads/mmvanheusden/DepotDownloaderGUI/total?color=orange&label=downloads">
<img alt="GitHub release (latest by date including pre-releases)" src="https://img.shields.io/github/v/release/mmvanheusden/DepotDownloaderGUI?color=seagreen&include_prereleases">
<img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/mmvanheusden/DepotDownloaderGUI?color=crimson">
<img alt="Project Status" src="https://img.shields.io/badge/status-maintained-blue" />
<img alt="GitHub all releases" src="https://img.shields.io/github/downloads/mmvanheusden/SteamDepotDownloaderGUI/total?color=orange&label=downloads">
<img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/mmvanheusden/SteamDepotDownloaderGUI?color=crimson">
<img alt="Visitor Count" src="https://visitor-badge.glitch.me/badge?page_id=mmvanheusden.SteamDepotDownloaderGUI">
<a href="https://www.codefactor.io/repository/github/mmvanheusden/steamdepotdownloadergui/overview/rewrite"><img src="https://www.codefactor.io/repository/github/mmvanheusden/steamdepotdownloadergui/badge/master" alt="CodeFactor" /></a>
</p>
<p align="center">
<img alt="Screenshot" src="screenshot.png" />
</p>
# DepotDownloaderGUI
<p align="center">SteamDepotDownloaderGUI is a graphical user interface for DepotDownloader.</p>
<p align="center">You can download older versions of Steam games, useful for testing and speedrunners.</p>
A simple GUI tool based on [**DepotDownloader**][depotdownloader] for downloading older versions of Steam games.
## Installation
![The Program](https://raw.githubusercontent.com/mmvanheusden/DepotDownloaderGUI/main/src/readme.md/hero.png "The Program")
Download the latest release for your operating system
from [GitHub](https://github.com/mmvanheusden/SteamDepotDownloaderGUI/releases/latest).
## What can you do with the program?
You can download older versions of Steam games!!!:sunglasses:
## Usage
## Want an example?
Take a look at [**This**][subnauticawiki] example.
Enter everything you normally would in the SteamDepotDownloader console.
## How use the program?
There is a video tutorial available [here](https://www.youtube.com/watch?v=dQw4w9WgXcQ). (not done yet)
### step 0:
Download [**.NET Core 2.0.**][dotnet] It is required for the program to work properly.
### step 1:
Download and unzip the program. (You can download it [**Here**][latest])
### step 2:
Run DepotDownloaderGUI.exe.
### step 3:
First enter your Steam credentials at "Username" and "Password" (Don't worry, it's safe!)
### step 4:
Click on "SteamDB Instant Search".
### step 5:
Enter your game of choice at the search bar and select the game.
### step 6:
Copy the App ID and paste it in the program at "App ID"
### step 7:
Click on "Depots" in the sidebar.
### step 8:
Select the Windows depot (usually it is Win32)
### step 9:
Copy the Depot ID and paste it in the program at "Depot ID"
### step 10:
Click on "Manifests" in the sidebar
### step 11:
Choose a Manifest(game version) of choice and copy its ID and paste it in the program at "Manifest ID"
### step 12:
Click on "Start Download", a terminal will pop up and will show the download progress.
### step 13:
Once the download is done, close the program.
The downloaded game is stored in the folder "YourGame"
> :warning: **Once the download progress is complete, Move the downloaded files to a different folder!**
### Enjoy your game!
## Contributing
## Need help?
### If you have any questions, use the shiny new ✨GitHub Discussions✨ page!
If you want to contribute to SteamDepotDownloaderGUI, please make sure to follow
the [contributing instructions and guidelines](contributing.md).
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
[latest]: https://github.com/mmvanheusden/DepotDownloaderGUI/releases/latest
[steamdb]: https://steamdb.info/
[depotdownloader]: https://github.com/SteamRE/DepotDownloader
[subnauticawiki]: https://github.com/mmvanheusden/DepotDownloaderGUI/wiki/How-to-Download-older-versions-of-Subnautica
[dotnet]: https://dotnet.microsoft.com/download/dotnet-core/thank-you/runtime-2.0.9-windows-x64-installer
Please make sure to keep code consistent and cross-platform compatible.
![License](license.png)

61
contributing.md Normal file
View File

@@ -0,0 +1,61 @@
# SteamDepotDownloaderGUI development information
SteamDepotDownloaderGUI is a graphical user interface for DepotDownloader.
It is written in Node.js and uses the [electron](https://electronjs.org/) framework.
The CSS framework is [Primer](https://primer.style).
## Setup development environment
**Note that these instructions may differ from operating system to operating system.**
* Install node.js, npm, and git on your computer.
* Clone the repository.
```bash
git clone https://github.com/mmvanheusden/SteamDepotDownloaderGUI
```
* Move into the directory and install npm dependencies.
```bash
cd SteamDepotDownloaderGUI
npm install
```
* **You are now ready to contribute**
## Testing the application
```bash
npm start
```
## Building the application
```bash
npm run build
```
* If you are using macOS, you may build using the following command:
```bash
npm run buildall
```
This will build the application for all supported operating systems.
## Contributing Guidelines
Please make sure to keep code consistent and cross-platform compatible.
After you made a change, clean-up the code using your favorite code editor and run the following command:
```bash
npx eslint *.js --fix
```
Please make sure your git commit message is descriptive and contains the changes you made.
**Happy coding!**

View File

@@ -1,748 +0,0 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v2.0/any",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v2.0": {},
".NETCoreApp,Version=v2.0/any": {
"DepotDownloader/1.0.0": {
"dependencies": {
"SteamKit2": "1.0.0",
"protobuf-net": "2.4.4"
},
"runtime": {
"DepotDownloader.dll": {}
}
},
"Microsoft.NETCore.Platforms/2.1.0": {},
"Microsoft.NETCore.Targets/1.1.0": {},
"Microsoft.Win32.Registry/4.4.0": {
"dependencies": {
"Microsoft.NETCore.Platforms": "2.1.0",
"System.Security.AccessControl": "4.4.0",
"System.Security.Principal.Windows": "4.5.0"
}
},
"protobuf-net/2.4.4": {
"dependencies": {
"System.Reflection.Emit": "4.3.0",
"System.Reflection.Emit.Lightweight": "4.3.0",
"System.Reflection.TypeExtensions": "4.4.0",
"System.ServiceModel.Primitives": "4.5.3",
"System.Xml.XmlSerializer": "4.3.0"
},
"runtime": {
"lib/netstandard2.0/protobuf-net.dll": {
"assemblyVersion": "2.4.0.0",
"fileVersion": "2.4.4.9"
}
}
},
"runtime.any.System.Collections/4.3.0": {
"dependencies": {
"System.Runtime": "4.3.0"
}
},
"runtime.any.System.Globalization/4.3.0": {},
"runtime.any.System.IO/4.3.0": {},
"runtime.any.System.Reflection/4.3.0": {},
"runtime.any.System.Reflection.Extensions/4.3.0": {},
"runtime.any.System.Reflection.Primitives/4.3.0": {},
"runtime.any.System.Resources.ResourceManager/4.3.0": {},
"runtime.any.System.Runtime/4.3.0": {
"dependencies": {
"System.Private.Uri": "4.3.0"
}
},
"runtime.any.System.Runtime.Handles/4.3.0": {},
"runtime.any.System.Runtime.InteropServices/4.3.0": {},
"runtime.any.System.Text.Encoding/4.3.0": {},
"runtime.any.System.Text.Encoding.Extensions/4.3.0": {},
"runtime.any.System.Threading.Tasks/4.3.0": {},
"System.Collections/4.3.0": {
"dependencies": {
"Microsoft.NETCore.Platforms": "2.1.0",
"Microsoft.NETCore.Targets": "1.1.0",
"System.Runtime": "4.3.0",
"runtime.any.System.Collections": "4.3.0"
}
},
"System.Diagnostics.Debug/4.3.0": {
"dependencies": {
"Microsoft.NETCore.Platforms": "2.1.0",
"Microsoft.NETCore.Targets": "1.1.0",
"System.Runtime": "4.3.0"
}
},
"System.Globalization/4.3.0": {
"dependencies": {
"Microsoft.NETCore.Platforms": "2.1.0",
"Microsoft.NETCore.Targets": "1.1.0",
"System.Runtime": "4.3.0",
"runtime.any.System.Globalization": "4.3.0"
}
},
"System.IO/4.3.0": {
"dependencies": {
"Microsoft.NETCore.Platforms": "2.1.0",
"Microsoft.NETCore.Targets": "1.1.0",
"System.Runtime": "4.3.0",
"System.Text.Encoding": "4.3.0",
"System.Threading.Tasks": "4.3.0",
"runtime.any.System.IO": "4.3.0"
}
},
"System.IO.FileSystem/4.3.0": {
"dependencies": {
"Microsoft.NETCore.Platforms": "2.1.0",
"Microsoft.NETCore.Targets": "1.1.0",
"System.IO": "4.3.0",
"System.IO.FileSystem.Primitives": "4.3.0",
"System.Runtime": "4.3.0",
"System.Runtime.Handles": "4.3.0",
"System.Text.Encoding": "4.3.0",
"System.Threading.Tasks": "4.3.0"
}
},
"System.IO.FileSystem.Primitives/4.3.0": {
"dependencies": {
"System.Runtime": "4.3.0"
}
},
"System.Linq/4.3.0": {
"dependencies": {
"System.Collections": "4.3.0",
"System.Diagnostics.Debug": "4.3.0",
"System.Resources.ResourceManager": "4.3.0",
"System.Runtime": "4.3.0",
"System.Runtime.Extensions": "4.3.0"
}
},
"System.Private.ServiceModel/4.5.3": {
"dependencies": {
"Microsoft.NETCore.Platforms": "2.1.0",
"System.Reflection.DispatchProxy": "4.5.0",
"System.Security.Principal.Windows": "4.5.0"
}
},
"System.Private.Uri/4.3.0": {
"dependencies": {
"Microsoft.NETCore.Platforms": "2.1.0",
"Microsoft.NETCore.Targets": "1.1.0"
}
},
"System.Reflection/4.3.0": {
"dependencies": {
"Microsoft.NETCore.Platforms": "2.1.0",
"Microsoft.NETCore.Targets": "1.1.0",
"System.IO": "4.3.0",
"System.Reflection.Primitives": "4.3.0",
"System.Runtime": "4.3.0",
"runtime.any.System.Reflection": "4.3.0"
}
},
"System.Reflection.DispatchProxy/4.5.0": {
"runtime": {
"lib/netcoreapp2.0/System.Reflection.DispatchProxy.dll": {
"assemblyVersion": "4.0.4.0",
"fileVersion": "4.6.26515.6"
}
}
},
"System.Reflection.Emit/4.3.0": {
"dependencies": {
"System.IO": "4.3.0",
"System.Reflection": "4.3.0",
"System.Reflection.Emit.ILGeneration": "4.3.0",
"System.Reflection.Primitives": "4.3.0",
"System.Runtime": "4.3.0"
}
},
"System.Reflection.Emit.ILGeneration/4.3.0": {
"dependencies": {
"System.Reflection": "4.3.0",
"System.Reflection.Primitives": "4.3.0",
"System.Runtime": "4.3.0"
}
},
"System.Reflection.Emit.Lightweight/4.3.0": {
"dependencies": {
"System.Reflection": "4.3.0",
"System.Reflection.Emit.ILGeneration": "4.3.0",
"System.Reflection.Primitives": "4.3.0",
"System.Runtime": "4.3.0"
}
},
"System.Reflection.Extensions/4.3.0": {
"dependencies": {
"Microsoft.NETCore.Platforms": "2.1.0",
"Microsoft.NETCore.Targets": "1.1.0",
"System.Reflection": "4.3.0",
"System.Runtime": "4.3.0",
"runtime.any.System.Reflection.Extensions": "4.3.0"
}
},
"System.Reflection.Primitives/4.3.0": {
"dependencies": {
"Microsoft.NETCore.Platforms": "2.1.0",
"Microsoft.NETCore.Targets": "1.1.0",
"System.Runtime": "4.3.0",
"runtime.any.System.Reflection.Primitives": "4.3.0"
}
},
"System.Reflection.TypeExtensions/4.4.0": {},
"System.Resources.ResourceManager/4.3.0": {
"dependencies": {
"Microsoft.NETCore.Platforms": "2.1.0",
"Microsoft.NETCore.Targets": "1.1.0",
"System.Globalization": "4.3.0",
"System.Reflection": "4.3.0",
"System.Runtime": "4.3.0",
"runtime.any.System.Resources.ResourceManager": "4.3.0"
}
},
"System.Runtime/4.3.0": {
"dependencies": {
"Microsoft.NETCore.Platforms": "2.1.0",
"Microsoft.NETCore.Targets": "1.1.0",
"runtime.any.System.Runtime": "4.3.0"
}
},
"System.Runtime.Extensions/4.3.0": {
"dependencies": {
"Microsoft.NETCore.Platforms": "2.1.0",
"Microsoft.NETCore.Targets": "1.1.0",
"System.Runtime": "4.3.0"
}
},
"System.Runtime.Handles/4.3.0": {
"dependencies": {
"Microsoft.NETCore.Platforms": "2.1.0",
"Microsoft.NETCore.Targets": "1.1.0",
"System.Runtime": "4.3.0",
"runtime.any.System.Runtime.Handles": "4.3.0"
}
},
"System.Runtime.InteropServices/4.3.0": {
"dependencies": {
"Microsoft.NETCore.Platforms": "2.1.0",
"Microsoft.NETCore.Targets": "1.1.0",
"System.Reflection": "4.3.0",
"System.Reflection.Primitives": "4.3.0",
"System.Runtime": "4.3.0",
"System.Runtime.Handles": "4.3.0",
"runtime.any.System.Runtime.InteropServices": "4.3.0"
}
},
"System.Security.AccessControl/4.4.0": {
"dependencies": {
"Microsoft.NETCore.Platforms": "2.1.0",
"System.Security.Principal.Windows": "4.5.0"
}
},
"System.Security.Principal.Windows/4.5.0": {
"dependencies": {
"Microsoft.NETCore.Platforms": "2.1.0"
},
"runtime": {
"lib/netstandard2.0/System.Security.Principal.Windows.dll": {
"assemblyVersion": "4.1.1.0",
"fileVersion": "4.6.26515.6"
}
}
},
"System.ServiceModel.Primitives/4.5.3": {
"dependencies": {
"System.Private.ServiceModel": "4.5.3"
},
"runtime": {
"lib/netstandard2.0/System.ServiceModel.Primitives.dll": {
"assemblyVersion": "4.5.0.3",
"fileVersion": "4.6.26720.1"
},
"lib/netstandard2.0/System.ServiceModel.dll": {
"assemblyVersion": "4.0.0.0",
"fileVersion": "4.6.26720.1"
}
}
},
"System.Text.Encoding/4.3.0": {
"dependencies": {
"Microsoft.NETCore.Platforms": "2.1.0",
"Microsoft.NETCore.Targets": "1.1.0",
"System.Runtime": "4.3.0",
"runtime.any.System.Text.Encoding": "4.3.0"
}
},
"System.Text.Encoding.Extensions/4.3.0": {
"dependencies": {
"Microsoft.NETCore.Platforms": "2.1.0",
"Microsoft.NETCore.Targets": "1.1.0",
"System.Runtime": "4.3.0",
"System.Text.Encoding": "4.3.0",
"runtime.any.System.Text.Encoding.Extensions": "4.3.0"
}
},
"System.Text.RegularExpressions/4.3.0": {
"dependencies": {
"System.Runtime": "4.3.0"
}
},
"System.Threading/4.3.0": {
"dependencies": {
"System.Runtime": "4.3.0",
"System.Threading.Tasks": "4.3.0"
}
},
"System.Threading.Tasks/4.3.0": {
"dependencies": {
"Microsoft.NETCore.Platforms": "2.1.0",
"Microsoft.NETCore.Targets": "1.1.0",
"System.Runtime": "4.3.0",
"runtime.any.System.Threading.Tasks": "4.3.0"
}
},
"System.Threading.Tasks.Extensions/4.3.0": {
"dependencies": {
"System.Collections": "4.3.0",
"System.Runtime": "4.3.0",
"System.Threading.Tasks": "4.3.0"
}
},
"System.Xml.ReaderWriter/4.3.0": {
"dependencies": {
"System.Collections": "4.3.0",
"System.Diagnostics.Debug": "4.3.0",
"System.Globalization": "4.3.0",
"System.IO": "4.3.0",
"System.IO.FileSystem": "4.3.0",
"System.IO.FileSystem.Primitives": "4.3.0",
"System.Resources.ResourceManager": "4.3.0",
"System.Runtime": "4.3.0",
"System.Runtime.Extensions": "4.3.0",
"System.Runtime.InteropServices": "4.3.0",
"System.Text.Encoding": "4.3.0",
"System.Text.Encoding.Extensions": "4.3.0",
"System.Text.RegularExpressions": "4.3.0",
"System.Threading.Tasks": "4.3.0",
"System.Threading.Tasks.Extensions": "4.3.0"
}
},
"System.Xml.XmlDocument/4.3.0": {
"dependencies": {
"System.Collections": "4.3.0",
"System.Diagnostics.Debug": "4.3.0",
"System.Globalization": "4.3.0",
"System.IO": "4.3.0",
"System.Resources.ResourceManager": "4.3.0",
"System.Runtime": "4.3.0",
"System.Runtime.Extensions": "4.3.0",
"System.Text.Encoding": "4.3.0",
"System.Threading": "4.3.0",
"System.Xml.ReaderWriter": "4.3.0"
}
},
"System.Xml.XmlSerializer/4.3.0": {
"dependencies": {
"System.Collections": "4.3.0",
"System.Globalization": "4.3.0",
"System.IO": "4.3.0",
"System.Linq": "4.3.0",
"System.Reflection": "4.3.0",
"System.Reflection.Emit": "4.3.0",
"System.Reflection.Emit.ILGeneration": "4.3.0",
"System.Reflection.Extensions": "4.3.0",
"System.Reflection.Primitives": "4.3.0",
"System.Reflection.TypeExtensions": "4.4.0",
"System.Resources.ResourceManager": "4.3.0",
"System.Runtime": "4.3.0",
"System.Runtime.Extensions": "4.3.0",
"System.Text.RegularExpressions": "4.3.0",
"System.Threading": "4.3.0",
"System.Xml.ReaderWriter": "4.3.0",
"System.Xml.XmlDocument": "4.3.0"
}
},
"SteamKit2/1.0.0": {
"dependencies": {
"Microsoft.Win32.Registry": "4.4.0",
"protobuf-net": "2.4.4"
},
"runtime": {
"SteamKit2.dll": {}
}
}
}
},
"libraries": {
"DepotDownloader/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"Microsoft.NETCore.Platforms/2.1.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-ok+RPAtESz/9MUXeIEz6Lv5XAGQsaNmEYXMsgVALj4D7kqC8gveKWXWXbufLySR2fWrwZf8smyN5RmHu0e4BHA==",
"path": "microsoft.netcore.platforms/2.1.0",
"hashPath": "microsoft.netcore.platforms.2.1.0.nupkg.sha512"
},
"Microsoft.NETCore.Targets/1.1.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-aOZA3BWfz9RXjpzt0sRJJMjAscAUm3Hoa4UWAfceV9UTYxgwZ1lZt5nO2myFf+/jetYQo4uTP7zS8sJY67BBxg==",
"path": "microsoft.netcore.targets/1.1.0",
"hashPath": "microsoft.netcore.targets.1.1.0.nupkg.sha512"
},
"Microsoft.Win32.Registry/4.4.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-LJh1PSoqdugrCv7t+k2B919GGdq4PyrntPVlMCMrcz59nsjOstYmtGWSCiFZ3UNpxv2dlsZdcLzJ847uyOlaEA==",
"path": "microsoft.win32.registry/4.4.0",
"hashPath": "microsoft.win32.registry.4.4.0.nupkg.sha512"
},
"protobuf-net/2.4.4": {
"type": "package",
"serviceable": true,
"sha512": "sha512-EYZyqfSlroeRVC2cvyONwjFE6ji50d+0gsGXFha+Ij/ZzIBLFd4HJmlytlabSyeqJFz1RCIDvhIoe9+AEyx3bg==",
"path": "protobuf-net/2.4.4",
"hashPath": "protobuf-net.2.4.4.nupkg.sha512"
},
"runtime.any.System.Collections/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-23g6rqftKmovn2cLeGsuHUYm0FD7pdutb0uQMJpZ3qTvq+zHkgmt6J65VtRry4WDGYlmkMa4xDACtaQ94alNag==",
"path": "runtime.any.system.collections/4.3.0",
"hashPath": "runtime.any.system.collections.4.3.0.nupkg.sha512"
},
"runtime.any.System.Globalization/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-sMDBnad4rp4t7GY442Jux0MCUuKL4otn5BK6Ni0ARTXTSpRNBzZ7hpMfKSvnVSED5kYJm96YOWsqV0JH0d2uuw==",
"path": "runtime.any.system.globalization/4.3.0",
"hashPath": "runtime.any.system.globalization.4.3.0.nupkg.sha512"
},
"runtime.any.System.IO/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-SDZ5AD1DtyRoxYtEcqQ3HDlcrorMYXZeCt7ZhG9US9I5Vva+gpIWDGMkcwa5XiKL0ceQKRZIX2x0XEjLX7PDzQ==",
"path": "runtime.any.system.io/4.3.0",
"hashPath": "runtime.any.system.io.4.3.0.nupkg.sha512"
},
"runtime.any.System.Reflection/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-hLC3A3rI8jipR5d9k7+f0MgRCW6texsAp0MWkN/ci18FMtQ9KH7E2vDn/DH2LkxsszlpJpOn9qy6Z6/69rH6eQ==",
"path": "runtime.any.system.reflection/4.3.0",
"hashPath": "runtime.any.system.reflection.4.3.0.nupkg.sha512"
},
"runtime.any.System.Reflection.Extensions/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-cPhT+Vqu52+cQQrDai/V91gubXUnDKNRvlBnH+hOgtGyHdC17aQIU64EaehwAQymd7kJA5rSrVRNfDYrbhnzyA==",
"path": "runtime.any.system.reflection.extensions/4.3.0",
"hashPath": "runtime.any.system.reflection.extensions.4.3.0.nupkg.sha512"
},
"runtime.any.System.Reflection.Primitives/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-Nrm1p3armp6TTf2xuvaa+jGTTmncALWFq22CpmwRvhDf6dE9ZmH40EbOswD4GnFLrMRS0Ki6Kx5aUPmKK/hZBg==",
"path": "runtime.any.system.reflection.primitives/4.3.0",
"hashPath": "runtime.any.system.reflection.primitives.4.3.0.nupkg.sha512"
},
"runtime.any.System.Resources.ResourceManager/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-Lxb89SMvf8w9p9+keBLyL6H6x/TEmc6QVsIIA0T36IuyOY3kNvIdyGddA2qt35cRamzxF8K5p0Opq4G4HjNbhQ==",
"path": "runtime.any.system.resources.resourcemanager/4.3.0",
"hashPath": "runtime.any.system.resources.resourcemanager.4.3.0.nupkg.sha512"
},
"runtime.any.System.Runtime/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-fRS7zJgaG9NkifaAxGGclDDoRn9HC7hXACl52Or06a/fxdzDajWb5wov3c6a+gVSlekRoexfjwQSK9sh5um5LQ==",
"path": "runtime.any.system.runtime/4.3.0",
"hashPath": "runtime.any.system.runtime.4.3.0.nupkg.sha512"
},
"runtime.any.System.Runtime.Handles/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-GG84X6vufoEzqx8PbeBKheE4srOhimv+yLtGb/JkR3Y2FmoqmueLNFU4Xx8Y67plFpltQSdK74x0qlEhIpv/CQ==",
"path": "runtime.any.system.runtime.handles/4.3.0",
"hashPath": "runtime.any.system.runtime.handles.4.3.0.nupkg.sha512"
},
"runtime.any.System.Runtime.InteropServices/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-lBoFeQfxe/4eqjPi46E0LU/YaCMdNkQ8B4MZu/mkzdIAZh8RQ1NYZSj0egrQKdgdvlPFtP4STtob40r4o2DBAw==",
"path": "runtime.any.system.runtime.interopservices/4.3.0",
"hashPath": "runtime.any.system.runtime.interopservices.4.3.0.nupkg.sha512"
},
"runtime.any.System.Text.Encoding/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-+ihI5VaXFCMVPJNstG4O4eo1CfbrByLxRrQQTqOTp1ttK0kUKDqOdBSTaCB2IBk/QtjDrs6+x4xuezyMXdm0HQ==",
"path": "runtime.any.system.text.encoding/4.3.0",
"hashPath": "runtime.any.system.text.encoding.4.3.0.nupkg.sha512"
},
"runtime.any.System.Text.Encoding.Extensions/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-NLrxmLsfRrOuVqPWG+2lrQZnE53MLVeo+w9c54EV+TUo4c8rILpsDXfY8pPiOy9kHpUHHP07ugKmtsU3vVW5Jg==",
"path": "runtime.any.system.text.encoding.extensions/4.3.0",
"hashPath": "runtime.any.system.text.encoding.extensions.4.3.0.nupkg.sha512"
},
"runtime.any.System.Threading.Tasks/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-OhBAVBQG5kFj1S+hCEQ3TUHBAEtZ3fbEMgZMRNdN8A0Pj4x+5nTELEqL59DU0TjKVE6II3dqKw4Dklb3szT65w==",
"path": "runtime.any.system.threading.tasks/4.3.0",
"hashPath": "runtime.any.system.threading.tasks.4.3.0.nupkg.sha512"
},
"System.Collections/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-3Dcj85/TBdVpL5Zr+gEEBUuFe2icOnLalmEh9hfck1PTYbbyWuZgh4fmm2ysCLTrqLQw6t3TgTyJ+VLp+Qb+Lw==",
"path": "system.collections/4.3.0",
"hashPath": "system.collections.4.3.0.nupkg.sha512"
},
"System.Diagnostics.Debug/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-ZUhUOdqmaG5Jk3Xdb8xi5kIyQYAA4PnTNlHx1mu9ZY3qv4ELIdKbnL/akbGaKi2RnNUWaZsAs31rvzFdewTj2g==",
"path": "system.diagnostics.debug/4.3.0",
"hashPath": "system.diagnostics.debug.4.3.0.nupkg.sha512"
},
"System.Globalization/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-kYdVd2f2PAdFGblzFswE4hkNANJBKRmsfa2X5LG2AcWE1c7/4t0pYae1L8vfZ5xvE2nK/R9JprtToA61OSHWIg==",
"path": "system.globalization/4.3.0",
"hashPath": "system.globalization.4.3.0.nupkg.sha512"
},
"System.IO/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-3qjaHvxQPDpSOYICjUoTsmoq5u6QJAFRUITgeT/4gqkF1bajbSmb1kwSxEA8AHlofqgcKJcM8udgieRNhaJ5Cg==",
"path": "system.io/4.3.0",
"hashPath": "system.io.4.3.0.nupkg.sha512"
},
"System.IO.FileSystem/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-3wEMARTnuio+ulnvi+hkRNROYwa1kylvYahhcLk4HSoVdl+xxTFVeVlYOfLwrDPImGls0mDqbMhrza8qnWPTdA==",
"path": "system.io.filesystem/4.3.0",
"hashPath": "system.io.filesystem.4.3.0.nupkg.sha512"
},
"System.IO.FileSystem.Primitives/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-6QOb2XFLch7bEc4lIcJH49nJN2HV+OC3fHDgsLVsBVBk3Y4hFAnOBGzJ2lUu7CyDDFo9IBWkSsnbkT6IBwwiMw==",
"path": "system.io.filesystem.primitives/4.3.0",
"hashPath": "system.io.filesystem.primitives.4.3.0.nupkg.sha512"
},
"System.Linq/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-5DbqIUpsDp0dFftytzuMmc0oeMdQwjcP/EWxsksIz/w1TcFRkZ3yKKz0PqiYFMmEwPSWw+qNVqD7PJ889JzHbw==",
"path": "system.linq/4.3.0",
"hashPath": "system.linq.4.3.0.nupkg.sha512"
},
"System.Private.ServiceModel/4.5.3": {
"type": "package",
"serviceable": true,
"sha512": "sha512-ancrQgJagx+yC4SZbuE+eShiEAUIF0E1d21TRSoy1C/rTwafAVcBr/fKibkq5TQzyy9uNil2tx2/iaUxsy0S9g==",
"path": "system.private.servicemodel/4.5.3",
"hashPath": "system.private.servicemodel.4.5.3.nupkg.sha512"
},
"System.Private.Uri/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-I4SwANiUGho1esj4V4oSlPllXjzCZDE+5XXso2P03LW2vOda2Enzh8DWOxwN6hnrJyp314c7KuVu31QYhRzOGg==",
"path": "system.private.uri/4.3.0",
"hashPath": "system.private.uri.4.3.0.nupkg.sha512"
},
"System.Reflection/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-KMiAFoW7MfJGa9nDFNcfu+FpEdiHpWgTcS2HdMpDvt9saK3y/G4GwprPyzqjFH9NTaGPQeWNHU+iDlDILj96aQ==",
"path": "system.reflection/4.3.0",
"hashPath": "system.reflection.4.3.0.nupkg.sha512"
},
"System.Reflection.DispatchProxy/4.5.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-+UW1hq11TNSeb+16rIk8hRQ02o339NFyzMc4ma/FqmxBzM30l1c2IherBB4ld1MNcenS48fz8tbt50OW4rVULA==",
"path": "system.reflection.dispatchproxy/4.5.0",
"hashPath": "system.reflection.dispatchproxy.4.5.0.nupkg.sha512"
},
"System.Reflection.Emit/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-228FG0jLcIwTVJyz8CLFKueVqQK36ANazUManGaJHkO0icjiIypKW7YLWLIWahyIkdh5M7mV2dJepllLyA1SKg==",
"path": "system.reflection.emit/4.3.0",
"hashPath": "system.reflection.emit.4.3.0.nupkg.sha512"
},
"System.Reflection.Emit.ILGeneration/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-59tBslAk9733NXLrUJrwNZEzbMAcu8k344OYo+wfSVygcgZ9lgBdGIzH/nrg3LYhXceynyvTc8t5/GD4Ri0/ng==",
"path": "system.reflection.emit.ilgeneration/4.3.0",
"hashPath": "system.reflection.emit.ilgeneration.4.3.0.nupkg.sha512"
},
"System.Reflection.Emit.Lightweight/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-oadVHGSMsTmZsAF864QYN1t1QzZjIcuKU3l2S9cZOwDdDueNTrqq1yRj7koFfIGEnKpt6NjpL3rOzRhs4ryOgA==",
"path": "system.reflection.emit.lightweight/4.3.0",
"hashPath": "system.reflection.emit.lightweight.4.3.0.nupkg.sha512"
},
"System.Reflection.Extensions/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-rJkrJD3kBI5B712aRu4DpSIiHRtr6QlfZSQsb0hYHrDCZORXCFjQfoipo2LaMUHoT9i1B7j7MnfaEKWDFmFQNQ==",
"path": "system.reflection.extensions/4.3.0",
"hashPath": "system.reflection.extensions.4.3.0.nupkg.sha512"
},
"System.Reflection.Primitives/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-5RXItQz5As4xN2/YUDxdpsEkMhvw3e6aNveFXUn4Hl/udNTCNhnKp8lT9fnc3MhvGKh1baak5CovpuQUXHAlIA==",
"path": "system.reflection.primitives/4.3.0",
"hashPath": "system.reflection.primitives.4.3.0.nupkg.sha512"
},
"System.Reflection.TypeExtensions/4.4.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-dkmh/ySlwnXJp/1qYP9uyKkCK1CXR/REFzl7abHcArxBcV91mY2CgrrzSRA5Z/X4MevJWwXsklGRdR3A7K9zbg==",
"path": "system.reflection.typeextensions/4.4.0",
"hashPath": "system.reflection.typeextensions.4.4.0.nupkg.sha512"
},
"System.Resources.ResourceManager/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-/zrcPkkWdZmI4F92gL/TPumP98AVDu/Wxr3CSJGQQ+XN6wbRZcyfSKVoPo17ilb3iOr0cCRqJInGwNMolqhS8A==",
"path": "system.resources.resourcemanager/4.3.0",
"hashPath": "system.resources.resourcemanager.4.3.0.nupkg.sha512"
},
"System.Runtime/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-JufQi0vPQ0xGnAczR13AUFglDyVYt4Kqnz1AZaiKZ5+GICq0/1MH/mO/eAJHt/mHW1zjKBJd7kV26SrxddAhiw==",
"path": "system.runtime/4.3.0",
"hashPath": "system.runtime.4.3.0.nupkg.sha512"
},
"System.Runtime.Extensions/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-guW0uK0fn5fcJJ1tJVXYd7/1h5F+pea1r7FLSOz/f8vPEqbR2ZAknuRDvTQ8PzAilDveOxNjSfr0CHfIQfFk8g==",
"path": "system.runtime.extensions/4.3.0",
"hashPath": "system.runtime.extensions.4.3.0.nupkg.sha512"
},
"System.Runtime.Handles/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-OKiSUN7DmTWeYb3l51A7EYaeNMnvxwE249YtZz7yooT4gOZhmTjIn48KgSsw2k2lYdLgTKNJw/ZIfSElwDRVgg==",
"path": "system.runtime.handles/4.3.0",
"hashPath": "system.runtime.handles.4.3.0.nupkg.sha512"
},
"System.Runtime.InteropServices/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-uv1ynXqiMK8mp1GM3jDqPCFN66eJ5w5XNomaK2XD+TuCroNTLFGeZ+WCmBMcBDyTFKou3P6cR6J/QsaqDp7fGQ==",
"path": "system.runtime.interopservices/4.3.0",
"hashPath": "system.runtime.interopservices.4.3.0.nupkg.sha512"
},
"System.Security.AccessControl/4.4.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-UPF+s4KctOCpk7dpBe3QtZ1AzFEHKdhOtiNDLxGnD/nxKsVbsow5OClTy8c7yOObw/Evbv95xRwZfYZ4wLV4fA==",
"path": "system.security.accesscontrol/4.4.0",
"hashPath": "system.security.accesscontrol.4.4.0.nupkg.sha512"
},
"System.Security.Principal.Windows/4.5.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-U77HfRXlZlOeIXd//Yoj6Jnk8AXlbeisf1oq1os+hxOGVnuG+lGSfGqTwTZBoORFF6j/0q7HXIl8cqwQ9aUGqQ==",
"path": "system.security.principal.windows/4.5.0",
"hashPath": "system.security.principal.windows.4.5.0.nupkg.sha512"
},
"System.ServiceModel.Primitives/4.5.3": {
"type": "package",
"serviceable": true,
"sha512": "sha512-Wc9Hgg4Cmqi416zvEgq2sW1YYCGuhwWzspDclJWlFZqY6EGhFUPZU+kVpl5z9kAgrSOQP7/Uiik+PtSQtmq+5A==",
"path": "system.servicemodel.primitives/4.5.3",
"hashPath": "system.servicemodel.primitives.4.5.3.nupkg.sha512"
},
"System.Text.Encoding/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-BiIg+KWaSDOITze6jGQynxg64naAPtqGHBwDrLaCtixsa5bKiR8dpPOHA7ge3C0JJQizJE+sfkz1wV+BAKAYZw==",
"path": "system.text.encoding/4.3.0",
"hashPath": "system.text.encoding.4.3.0.nupkg.sha512"
},
"System.Text.Encoding.Extensions/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-YVMK0Bt/A43RmwizJoZ22ei2nmrhobgeiYwFzC4YAN+nue8RF6djXDMog0UCn+brerQoYVyaS+ghy9P/MUVcmw==",
"path": "system.text.encoding.extensions/4.3.0",
"hashPath": "system.text.encoding.extensions.4.3.0.nupkg.sha512"
},
"System.Text.RegularExpressions/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-RpT2DA+L660cBt1FssIE9CAGpLFdFPuheB7pLpKpn6ZXNby7jDERe8Ua/Ne2xGiwLVG2JOqziiaVCGDon5sKFA==",
"path": "system.text.regularexpressions/4.3.0",
"hashPath": "system.text.regularexpressions.4.3.0.nupkg.sha512"
},
"System.Threading/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-VkUS0kOBcUf3Wwm0TSbrevDDZ6BlM+b/HRiapRFWjM5O0NS0LviG0glKmFK+hhPDd1XFeSdU1GmlLhb2CoVpIw==",
"path": "system.threading/4.3.0",
"hashPath": "system.threading.4.3.0.nupkg.sha512"
},
"System.Threading.Tasks/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-LbSxKEdOUhVe8BezB/9uOGGppt+nZf6e1VFyw6v3DN6lqitm0OSn2uXMOdtP0M3W4iMcqcivm2J6UgqiwwnXiA==",
"path": "system.threading.tasks/4.3.0",
"hashPath": "system.threading.tasks.4.3.0.nupkg.sha512"
},
"System.Threading.Tasks.Extensions/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-npvJkVKl5rKXrtl1Kkm6OhOUaYGEiF9wFbppFRWSMoApKzt2PiPHT2Bb8a5sAWxprvdOAtvaARS9QYMznEUtug==",
"path": "system.threading.tasks.extensions/4.3.0",
"hashPath": "system.threading.tasks.extensions.4.3.0.nupkg.sha512"
},
"System.Xml.ReaderWriter/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-GrprA+Z0RUXaR4N7/eW71j1rgMnEnEVlgii49GZyAjTH7uliMnrOU3HNFBr6fEDBCJCIdlVNq9hHbaDR621XBA==",
"path": "system.xml.readerwriter/4.3.0",
"hashPath": "system.xml.readerwriter.4.3.0.nupkg.sha512"
},
"System.Xml.XmlDocument/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-lJ8AxvkX7GQxpC6GFCeBj8ThYVyQczx2+f/cWHJU8tjS7YfI6Cv6bon70jVEgs2CiFbmmM8b9j1oZVx0dSI2Ww==",
"path": "system.xml.xmldocument/4.3.0",
"hashPath": "system.xml.xmldocument.4.3.0.nupkg.sha512"
},
"System.Xml.XmlSerializer/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-MYoTCP7EZ98RrANESW05J5ZwskKDoN0AuZ06ZflnowE50LTpbR5yRg3tHckTVm5j/m47stuGgCrCHWePyHS70Q==",
"path": "system.xml.xmlserializer/4.3.0",
"hashPath": "system.xml.xmlserializer.4.3.0.nupkg.sha512"
},
"SteamKit2/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}

Binary file not shown.

View File

@@ -1,14 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/>
</startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="protobuf-net" publicKeyToken="257b51d87d2e4d67" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-2.0.0.640" newVersion="2.0.0.640"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>

Binary file not shown.

View File

@@ -1,10 +0,0 @@
{
"runtimeOptions": {
"tfm": "netcoreapp2.0",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "2.0.0"
},
"rollForwardOnNoCandidateFx": 2
}
}

View File

@@ -1,339 +0,0 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Lesser General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.

View File

@@ -1,55 +0,0 @@
DepotDownloader
===============
Steam depot downloader utilizing the SteamKit2 library. Supports .NET Core 2.0
### Downloading one or all depots for an app
```
dotnet DepotDownloader.dll -app <id> [-depot <id> [-manifest <id>]]
[-username <username> [-password <password>]] [other options]
```
For example: `dotnet DepotDownloader.dll -app 730 -depot 731 -manifest 7617088375292372759`
### Downloading a workshop item using pubfile id
```
dotnet DepotDownloader.dll -app <id> -pubfile <id> [-username <username> [-password <password>]]
```
For example: `dotnet DepotDownloader.dll -app 730 -pubfile 1885082371`
### Downloading a workshop item using ugc id
```
dotnet DepotDownloader.dll -app <id> -ugc <id> [-username <username> [-password <password>]]
```
For example: `dotnet DepotDownloader.dll -app 730 -ugc 770604181014286929`
## Parameters
Parameter | Description
--------- | -----------
-app \<#> | the AppID to download.
-depot \<#> | the DepotID to download.
-manifest \<id> | manifest id of content to download (requires -depot, default: current for branch).
-ugc \<#> | the UGC ID to download.
-beta \<branchname> | download from specified branch if available (default: Public).
-betapassword \<pass> | branch password if applicable.
-all-platforms | downloads all platform-specific depots when -app is used.
-os \<os> | the operating system for which to download the game (windows, macos or linux, default: OS the program is currently running on)
-osarch \<arch> | the architecture for which to download the game (32 or 64, default: the host's architecture)
-all-languages | download all language-specific depots when -app is used.
-language \<lang> | the language for which to download the game (default: english)
-lowviolence | download low violence depots when -app is used.
-pubfile \<#> | the PublishedFileId to download. (Will automatically resolve to UGC id)
-username \<user> | the username of the account to login to for restricted content.
-password \<pass> | the password of the account to login to for restricted content.
-remember-password | if set, remember the password for subsequent logins of this user.
-dir \<installdir> | the directory in which to place downloaded files.
-filelist \<file.txt> | a list of files to download (from the manifest). Can optionally use regex to download only certain files.
-validate | Include checksum verification of files already downloaded
-manifest-only | downloads a human readable manifest for any depots that would be downloaded.
-cellid \<#> | the overridden CellID of the content server to download from.
-max-servers \<#> | maximum number of content servers to use. (default: 8).
-max-downloads \<#> | maximum number of chunks to download concurrently. (default: 4).
-loginid \<#> | a unique 32-bit integer Steam LogonID in decimal, required if running multiple instances of DepotDownloader concurrently.

Binary file not shown.

Binary file not shown.

View File

@@ -1 +0,0 @@
dotnet DepotDownloader.dll "$@"

View File

@@ -1,2 +0,0 @@
@echo off
dotnet %~dp0DepotDownloader.dll %*

Binary file not shown.

63
downloader.js Normal file
View File

@@ -0,0 +1,63 @@
const {
checkDotnet,
download,
createCommand,
runCommand,
removeDir,
removeFile,
unzip
} = require("./utils")
function submitForm() {
checkDotnet().then(async function (result) {
if (!result) {
console.error("dotnet not found in PATH")
document.getElementById("dotnetwarning").hidden = false
} else {
console.info("dotnet found in PATH")
// Remove the old depotdownloader directory
await removeDir("depotdownloader")
// Download the DepotDownloader binary, so it doesn't have to be included in the source code
await download("https://github.com/SteamRE/DepotDownloader/releases/download/DepotDownloader_2.4.6/depotdownloader-2.4.6.zip")
// Unzip the DepotDownloader binary
await unzip("depotdownloader-2.4.6.zip", "depotdownloader")
// Clean up the old files
await removeFile("depotdownloader-2.4.6.zip")
// Run the final command
await runCommand(createCommand().toString())
}
})
}
function submitDotnet() {
const electron = require("electron")
const os = process.platform.toString()
document.getElementById("dotnetwarning").hidden = true
if (os.includes("win")) {
console.debug("Opened .NET download page for " + os.charAt(0).toUpperCase() + os.slice(1))
void electron.shell.openExternal("https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/sdk-6.0.301-windows-x64-installer")
}
if (os.includes("linux")) {
console.debug("Opened .NET download page for " + os.charAt(0).toUpperCase() + os.slice(1))
void electron.shell.openExternal("https://docs.microsoft.com/en-us/dotnet/core/install/linux")
}
if (os.includes("darwin")) {
console.debug("Opened .NET download page for" + os)
//TODO: apple silicon(ARM64) URL
void electron.shell.openExternal("https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/sdk-6.0.301-macos-x64-installer")
}
}
window.addEventListener("DOMContentLoaded", () => {
document.getElementById("alertbtn").addEventListener("click", submitDotnet)
document.getElementById("downloadbtn").addEventListener("click", submitForm)
})

32
electron-builder.yml Normal file
View File

@@ -0,0 +1,32 @@
appId: steam.depot.downloader.gui
productName: SteamDepotDownloaderGUI
copyright: Copyright © 2022 mmvanheusden | This work is free. Licensed under the Do What The Fuck You Want To Public License
linux:
executableName: SteamDepotDownloaderGUI
category: Utility;FileTools;
maintainer: mmvanheusden
target:
- target: AppImage
arch:
- x64
- arm64
- target: zip
arch:
- x64
- arm64
# lmao mac building only works on mac
mac:
category: public.app-category.utilities
target:
- target: dmg
arch:
- x64
win:
legalTrademarks: Copyright © 2022 mmvanheusden | This work is free. Licensed under the Do What The Fuck You Want To Public License
target:
- target: portable
arch:
- x64

102
index.html Normal file
View File

@@ -0,0 +1,102 @@
<!DOCTYPE html>
<!-- automatic dark mode :) -->
<html class="anim-fade-in" data-color-mode="auto" data-dark-theme="dark" data-light-theme="light" lang="en">
<head>
<meta charset="UTF-8">
<meta content="width=device-width, initial-scale=1" name="viewport"/>
<link href="https://unpkg.com/@primer/css@20.2.4/dist/primer.css" rel="stylesheet"/>
<title>SteamDepotDownloaderGUI</title>
</head>
<body>
<script src="downloader.js"></script>
<div class="mx-auto">
<div hidden id="dotnetwarning">
<div class="flash flash-error mx-2 mt-2 color-shadow-medium" id="alert">
<svg class="octicon" height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg">
<path d="M8 1.5a6.5 6.5 0 100 13 6.5 6.5 0 000-13zM0 8a8 8 0 1116 0A8 8 0 010 8zm6.5-.25A.75.75 0 017.25 7h1a.75.75 0 01.75.75v2.75h.25a.75.75 0 010 1.5h-2a.75.75 0 010-1.5h.25v-2h-.25a.75.75 0 01-.75-.75zM8 6a1 1 0 100-2 1 1 0 000 2z"
fill-rule="evenodd"></path>
</svg>
<code><span class="text-italic">dotnet</span></code> was not found.
<button class="btn btn-sm flash-action" id="alertbtn">
<svg class="octicon" height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg">
<path d="M7.47 10.78a.75.75 0 001.06 0l3.75-3.75a.75.75 0 00-1.06-1.06L8.75 8.44V1.75a.75.75 0 00-1.5
0v6.69L4.78 5.97a.75.75 0 00-1.06 1.06l3.75 3.75zM3.75 13a.75.75 0 000 1.5h8.5a.75.75 0 000-1.5h-8.5z"
fill-rule="evenodd"></path>
</svg>
<span class="text-bold">Download</span>
</button>
</div>
</div>
<div class="f0-light text-center">Steam Depot Downloader</div>
<form id="theform">
<div class="form-group mx-3 mt-1">
<div class="form-group-header">
<label for="username">Username</label>
</div>
<div class="form-group-body">
<input class="form-control input-block" id="username" type="text"/>
</div>
</div>
<div class="form-group mx-3 mt-1">
<div class="form-group-header">
<label for="password">Password</label>
</div>
<div class="form-group-body">
<input class="form-control input-block" id="password" type="password"/>
</div>
</div>
<div class="form-group mx-3 mt-1">
<div class="form-group-header">
<label for="appid">App ID</label>
</div>
<div class="form-group-body">
<input class="form-control input-block" id="appid" type="number"/>
</div>
</div>
<div class="form-group mx-3 mt-1">
<div class="form-group-header">
<label for="depotid">Depot ID</label>
</div>
<div class="form-group-body">
<input class="form-control input-block" id="depotid" type="number"/>
</div>
</div>
<div class="form-group mx-3 mt-1">
<div class="form-group-header">
<label for="manifestid">Manifest ID</label>
</div>
<div class="form-group-body">
<input class="form-control input-block" id="manifestid" type="number"/>
</div>
</div>
<div class="form-group mx-3 mt-1">
<div class="form-group-header">
<label for="osdropdown">Operating system</label>
</div>
<div class="form-group-body">
<select aria-label="Preference" class="form-select" id="osdropdown">
<option disabled>Choose your OS</option>
<option>Windows</option>
<option disabled>macOS (NOT YET IMPLEMENTED)</option>
<option disabled>If you are using Linux</option>
<option disabled>Select your terminal</option>
<option>KDE Konsole</option>
<option>Gnome Terminal</option>
<option>Xfce Terminal</option>
<option>Terminator</option>
<option>Print command in console</option>
</select>
</div>
</div>
</form>
<div class="form-group mx-3">
<button class="btn btn-block btn-primary" id="downloadbtn">Download</button>
</div>
</div>
</body>
</html>

BIN
license.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1022 B

44
main.js Normal file
View File

@@ -0,0 +1,44 @@
const {app, BrowserWindow} = require("electron")
const createWindow = () => {
// Create the browser window.
const mainWindow = new BrowserWindow({
autoHideMenuBar: true,
resizable: false,
width: 425,
height: 575,
maximizable: false,
webPreferences: {
nodeIntegration: true,
contextIsolation: false
}
})
// and load the index.html of the app.
mainWindow.loadFile("index.html")
// Open the DevTools for debugging, only if not in production.
if (!app.isPackaged) {
mainWindow.webContents.openDevTools({mode: "detach"})
}
}
// This method will be called when Electron has finished
// initialization and is ready to create browser windows.
// Some APIs can only be used after this event occurs.
app.whenReady().then(() => {
createWindow()
app.on("activate", () => {
// On macOS it's common to re-create a window in the app when the
// dock icon is clicked and there are no other windows open.
if (BrowserWindow.getAllWindows().length === 0) createWindow()
})
})
// Quit when all windows are closed, except on macOS. There, it's common
// for applications and their menu bar to stay active until the user quits
// explicitly with Cmd + Q.
app.on("window-all-closed", () => {
if (process.platform !== "darwin") app.quit()
})

90
main.py
View File

@@ -1,90 +0,0 @@
# Imports
import os
import threading
from tkinter import *
from tkinter import ttk
from webbrowser import open_new_tab as webopen
# go in depotdownloader folder
os.chdir("depotdownloader")
# define functions
def download():
if pswd == "":
os.system(
f"start /wait cmd /k dotnet DepotDownloader.dll -app {apid} -depot {dpotid} -manifest {manid}"
f" -max-servers {maxdload} -max-downloads {chunks} -dir ../YourGame {arg}")
else:
os.system(
f"start /wait cmd /k dotnet DepotDownloader.dll -app {apid} -depot {dpotid} -manifest {manid}"
f" -username {uname} -password {pswd} -max-servers {maxdload} -max-downloads {chunks} -dir ../YourGame {arg}")
def execute():
global uname, pswd, apid, dpotid, manid, arg, chunks, maxdload
uname = username.get()
pswd = password.get()
apid = appid.get()
dpotid = depotid.get()
manid = manifestid.get()
arg = arguments.get()
chunks = maxchunks.get()
maxdload = maxservers.get()
threading.Thread(target=download).start() # run the download on a different thread so that the program doesn't freeze.
def dbsite():
webopen("https://steamdb.info/instantsearch/")
def ghsite():
webopen("https://github.com/mmvanheusden/DepotDownloaderGUI")
def needhelp():
webopen("https://github.com/mmvanheusden/DepotDownloaderGUI/discussions")
# draw the text
window = Tk()
window.title("Steam Depot Downloader")
window.geometry('400x278')
a = Label(window, text="Username", font=('Arial', 14)).grid(row=0, column=0)
b = Label(window, text="Password", font=('Arial', 14)).grid(row=1, column=0)
c = Label(window, text="App ID", font=('Arial', 14)).grid(row=2, column=0)
d = Label(window, text="Depot ID", font=('Arial', 14)).grid(row=3, column=0)
e = Label(window, text="Manifest ID", font=('Arial', 14)).grid(row=4, column=0)
f = Label(window, text="Max Servers", font=('Arial', 14)).grid(row=5, column=0)
g = Label(window, text="Max Chunks", font=('Arial', 14)).grid(row=6, column=0)
h = Label(window, text="Useful Links:", font=('Arial', 13)).grid(row=8, column=0)
i = Label(window, text="Optional Arguments", font=('Arial', 14)).grid(row=7, column=0)
# draw the input fields
username = Entry(window, font=('Arial', 14))
username.grid(row=0, column=1)
password = Entry(window, show='🤫', font=('Arial', 14))
password.grid(row=1, column=1)
appid = Entry(window, font=('Arial', 14))
appid.grid(row=2, column=1)
depotid = Entry(window, font=('Arial', 14))
depotid.grid(row=3, column=1)
manifestid = Entry(window, font=('Arial', 14))
manifestid.grid(row=4, column=1)
maxservers = Spinbox(window,from_=20,to=10000,font=('Arial', 13))
maxservers.grid(row=5, column=1)
maxchunks = Spinbox(window,from_=8,to=10000,font=('Arial', 13))
maxchunks.grid(row=6, column=1)
arguments = Entry(window, font=('Arial', 14))
arguments.grid(row=7, column=1)
steamdb = ttk.Button(window, text="SteamDB Instant Search", command=dbsite)
steamdb.grid(row=8, column=0)
github = ttk.Button(window, text="GitHub Repo", command=ghsite)
github.grid(row=9, column=0)
github = ttk.Button(window, text="Need Help?", command=needhelp)
github.grid(row=8, column=1)
dload = Button(window, text="Start Download", command=execute, bg='#97a8fc')
dload.grid(row=9, column=1)
# put everything in a loop
window.mainloop()

6915
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

42
package.json Normal file
View File

@@ -0,0 +1,42 @@
{
"name": "steamdepotdownloadergui",
"version": "2.0.2",
"description": "DepotDownloader Electron frontend",
"main": "main.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "electron .",
"build": "electron-builder -c electron-builder.yml -wl -p never",
"buildall": "electron-builder -c electron-builder.yml -mwl -p never",
"buildlinux": "electron-builder -c electron-builder.yml -l -p never",
"buildwin": "electron-builder -c electron-builder.yml -w -p never",
"buildmacos": "electron-builder -c electron-builder.yml -m -p never"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mmvanheusden/SteamDepotDownloaderGUI.git"
},
"keywords": [
"electron",
"steam",
"depotdownloader",
"electron",
"gui",
"ui",
"subnautica"
],
"author": "mmvanheusden",
"license": "WTFPL",
"bugs": {
"url": "https://github.com/mmvanheusden/SteamDepotDownloaderGUI/issues"
},
"homepage": "https://github.com/mmvanheusden/SteamDepotDownloaderGUI#readme",
"devDependencies": {
"electron-builder": "^23.1.0",
"electron": "^19.0.6",
"eslint": "^8.18.0"
},
"dependencies": {
"follow-redirects": "^1.15.1"
}
}

BIN
screenshot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

199
utils.js Normal file
View File

@@ -0,0 +1,199 @@
/**
* Checks if dotnet is installed in the system path
* @returns {Promise<unknown>} A promise that resolves to true if dotnet is installed, false otherwise
*/
function checkDotnet() {
return new Promise((resolve) => {
if (process.platform.toString().includes("win")) {
const {exec} = require("child_process")
const command = "dotnet.exe --version"
exec(command, function (error) {
if (error) {
resolve(false)
} else {
resolve(true)
}
})
} else {
const {exec} = require("child_process")
const command = "dotnet --version"
exec(command, function (error) {
if (error) {
resolve(false)
} else {
resolve(true)
}
})
}
})
}
/**
* Download a file from a url, saving it to the current directory (__dirname)
* @param url The url to download from
* @returns {Promise<unknown>} A promise that resolves when the download is finished
*/
function download(url) {
return new Promise((resolve) => {
const {https} = require("follow-redirects")
const fs = require("fs")
const path = require("path")
const file = fs.createWriteStream(platformpath() + path.sep + url.split("/").pop())
https.get(url, function (response) {
response.pipe(file)
file.on("finish", function () {
file.close()
resolve()
})
})
})
}
/**
* Removes a file from the current directory
* @param file The filename to remove
* @returns {Promise<unknown>} A promise that resolves when the file is removed (or fails)
*/
function removeFile(file) {
return new Promise((resolve) => {
const fs = require("fs")
const path = require("path")
fs.unlink(platformpath() + path.sep + file, function (err) {
if (err) {
console.error(err)
}
resolve()
})
})
}
/**
* Removes a directory from the current directory
* @param dir The directory to remove
* @returns {Promise<unknown>} A promise that resolves when the directory is removed (or fails)
*/
function removeDir(dir,) {
return new Promise((resolve) => {
const fs = require("fs")
const path = require("path")
fs.rm(platformpath() + path.sep + dir, {recursive: true, force: true}, function (err) {
if (err) {
console.error(err)
}
resolve()
})
})
}
/**
* Unzip a file to the current directory
* @param file The file to unzip, preferably a .zip file
* @param target The target directory to unzip to
* @returns {Promise<unknown>} A promise that resolves when the unzip is complete (or fails)
*/
function unzip(file, target) {
const {exec} = require("child_process")
const path = require("path")
return new Promise((resolve) => {
if (process.platform.toString().includes("win")) {
const command = "powershell.exe -Command Expand-Archive -Path " + platformpath() + path.sep + file + " -Destination " + platformpath() + path.sep + target
exec(command, function (error, stdout, stderr) {
if (error) {
console.error("Unzipping failed with error: " + error)
}
console.debug(stdout)
if (stderr) {
console.error(stderr)
}
resolve()
})
} else {
const command = "unzip -o " + file + " -d ./" + target + "/"
exec(command, function (error, stdout, stderr) {
if (error) {
console.error("Unzipping failed with error: " + error)
}
console.debug(stdout)
if (stderr) {
console.error(stderr)
}
resolve()
})
}
})
}
/**
* Creates a command based on the operating system/terminal being selected and the form values
* @returns {string} The final command to run
*/
const createCommand = () => {
// Import path so \ can be put in a string
const path = require("path")
// The values inputted by the user in the form
let username = document.forms["theform"]["username"].value
let password = document.forms["theform"]["password"].value
let appid = document.forms["theform"]["appid"].value
let depotid = document.forms["theform"]["depotid"].value
let manifestid = document.forms["theform"]["manifestid"].value
let osdropdown = document.getElementById("osdropdown")
// The final command to run, returned by this function
if (osdropdown.options[osdropdown.selectedIndex].text.includes("Gnome")) {
return `gnome-terminal -e 'bash -c "dotnet ./depotdownloader/DepotDownloader.dll -username ${username} -password ${password} -app ${appid} -depot ${depotid} -manifest ${manifestid} -dir ./games/${appid}/ -max-servers 50 -max-downloads 16";bash'`
} else if (osdropdown.options[osdropdown.selectedIndex].text.includes("Windows")) {
return `start cmd.exe /k dotnet ${platformpath()}${path.sep}depotdownloader${path.sep}DepotDownloader.dll -username ${username} -password ${password} -app ${appid} -depot ${depotid} -manifest ${manifestid} -dir ${platformpath()}${path.sep}games${path.sep}${appid}/ -max-servers 50 -max-downloads 16`
} else if (osdropdown.options[osdropdown.selectedIndex].text.includes("macOS")) {
return `osascript -c 'tell application "Terminal" to do script 'dotnet ./depotdownloader/DepotDownloader.dll -username ${username} -password ${password} -app ${appid} -depot ${depotid} -manifest ${manifestid} -dir ./games/${appid}/ -max-servers 50 -max-downloads 16'`
} else if (osdropdown.options[osdropdown.selectedIndex].text.includes("Konsole")) {
return `konsole --hold -e "dotnet ./depotdownloader/DepotDownloader.dll -username ${username} -password ${password} -app ${appid} -depot ${depotid} -manifest ${manifestid} -dir ./games/${appid}/ -max-servers 50 -max-downloads 16"`
} else if (osdropdown.options[osdropdown.selectedIndex].text.includes("Xfce")) {
return `xfce4-terminal -H -e "dotnet ./depotdownloader/DepotDownloader.dll -username ${username} -password ${password} -app ${appid} -depot ${depotid} -manifest ${manifestid} -dir ./games/${appid}/ -max-servers 50 -max-downloads 16"`
} else if (osdropdown.options[osdropdown.selectedIndex].text.includes("Terminator")) {
return `terminator -e 'bash -c "dotnet ./depotdownloader/DepotDownloader.dll -username ${username} -password ${password} -app ${appid} -depot ${depotid} -manifest ${manifestid} -dir ./games/${appid}/ -max-servers 50 -max-downloads 16";bash'`
} else if (osdropdown.options[osdropdown.selectedIndex].text.includes("Print command")) {
console.log(`COPY-PASTE THE FOLLOWING INTO YOUR TERMINAL OF CHOICE:\n\ndotnet ${__dirname}/depotdownloader/DepotDownloader.dll -username ${username} -password ${password} -app ${appid} -depot ${depotid} -manifest ${manifestid} -dir ./games/${appid}/ -max-servers 50 -max-downloads 16`)
return "echo hello"
}
}
/**
* Runs a command in a separate process, printing errors and debugging info to the console
* @param command The command to run
* @returns {Promise<unknown>} A promise that resolves when the command is complete (or fails)
*/
function runCommand(command) {
return new Promise((resolve) => {
const {exec} = require("child_process")
exec(command, function (error, stdout, stderr) {
if (error) {
console.debug("Command failed with error: " + error)
}
if (stderr) {
console.error(stderr)
}
resolve()
})
})
}
const platformpath = () => {
if ((__dirname.includes("AppData") || __dirname.includes("Temp")) && process.platform.toString().includes("win")) {
// Windows portable exe
return process.env.PORTABLE_EXECUTABLE_DIR
} else if (__dirname.includes("/tmp/") && process.platform.toString().includes("linux")) {
// Linux AppImage
return process.cwd()
} else {
// .zip binary
return __dirname
}
}
module.exports = {checkDotnet, download, createCommand, runCommand, removeDir, removeFile, unzip, platformpath}