├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── bug_report.md │ ├── download_problem.md │ └── feature_request.md ├── dependabot.yml └── workflows │ └── build.yml ├── .gitignore ├── .vscode └── extensions.json ├── CODE_OF_CONDUCT.md ├── LICENSE ├── README.md ├── eslint.config.js ├── package.json ├── pnpm-lock.yaml ├── src-tauri ├── .gitignore ├── Cargo.lock ├── Cargo.toml ├── build.rs ├── capabilities │ └── default.json ├── icons │ ├── 128x128.png │ ├── 128x128@2x.png │ ├── 32x32.png │ ├── Square107x107Logo.png │ ├── Square142x142Logo.png │ ├── Square150x150Logo.png │ ├── Square284x284Logo.png │ ├── Square30x30Logo.png │ ├── Square310x310Logo.png │ ├── Square44x44Logo.png │ ├── Square71x71Logo.png │ ├── Square89x89Logo.png │ ├── StoreLogo.png │ ├── icon.icns │ ├── icon.ico │ └── icon.png ├── src │ ├── depotdownloader.rs │ ├── main.rs │ ├── steam.rs │ └── terminal.rs └── tauri.conf.json ├── src ├── assets │ ├── Hubot-Sans.woff2 │ └── Windows.woff ├── css │ └── style.css ├── index.html └── ts │ ├── main.ts │ ├── preload.ts │ └── settings.ts ├── tsconfig.json └── vite.config.ts /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | custom: https://paypal.me/onderkin 2 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: Report a bug in this project 4 | title: '' 5 | labels: bug 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Describe the bug** 11 | A clear and concise description of the bug. 12 | 13 | **Is your bug report related to another bug report? Please describe.** 14 | If yes, the issue number and an explanation of why the bug is related to this one. 15 | 16 | **Describe the solution you'd like** 17 | A clear and concise description of what you want to happen. 18 | 19 | **Additional context** 20 | Add any other context or screenshots about the bug report here. 21 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/download_problem.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Download problem 3 | about: Report a difficulty in downloading a game 4 | title: '' 5 | labels: question 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Describe the game you are trying to download** 11 | A clear and concise description of the bug. 12 | **App ID:** 13 | **Depot ID:** 14 | **Manifest ID:** 15 | 16 | **Show the error that DepotDownloader produces** 17 | A screenshot or a copy-paste wrapped in a code-block (` ``` `) of the DepotDownloader terminal output 18 | 19 | **Do you own the game?** 20 | If no, you probably can't download the game. You must own the game on Steam to be able to download it. 21 | 22 | **Additional context** 23 | Add any other context or screenshots about the issue here. 24 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature request 3 | about: Suggest an idea for this project 4 | title: '' 5 | labels: feature 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Is your feature request related to a problem? Please describe.** 11 | A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] 12 | 13 | **Describe the solution you'd like** 14 | A clear and concise description of what you want to happen. 15 | 16 | **Describe alternatives you've considered** 17 | A clear and concise description of any alternative solutions or features you've considered. 18 | 19 | **Additional context** 20 | Add any other context or screenshots about the feature request here. 21 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | version: 2 2 | updates: 3 | - package-ecosystem: "npm" 4 | directory: "/" 5 | schedule: 6 | interval: "monthly" 7 | ignore: 8 | - dependency-name: "*" 9 | update-types: ["version-update:semver-major"] 10 | groups: 11 | npm-deps: 12 | patterns: 13 | - "*" 14 | 15 | - package-ecosystem: "cargo" 16 | directory: "src-tauri/" 17 | schedule: 18 | interval: "monthly" 19 | ignore: 20 | - dependency-name: "*" 21 | update-types: ["version-update:semver-major"] 22 | groups: 23 | cargo-deps: 24 | patterns: 25 | - "*" 26 | -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- 1 | name: 'build' 2 | 3 | on: 4 | workflow_dispatch: 5 | 6 | jobs: 7 | build-tauri: 8 | permissions: 9 | contents: write 10 | strategy: 11 | fail-fast: false 12 | matrix: 13 | include: 14 | - platform: 'macos-latest' 15 | arch: 'aarch64' 16 | args: '--target aarch64-apple-darwin --bundles dmg' 17 | - platform: 'macos-latest' 18 | arch: 'x86_64' 19 | args: '--target x86_64-apple-darwin --bundles dmg' 20 | - platform: 'ubuntu-22.04' 21 | args: '--bundles appimage' 22 | - platform: 'windows-latest' 23 | args: '' 24 | 25 | runs-on: ${{ matrix.platform }} 26 | steps: 27 | - uses: actions/checkout@v4 28 | 29 | - name: install dependencies (ubuntu only) 30 | if: matrix.platform == 'ubuntu-22.04' 31 | run: | 32 | sudo apt-get update 33 | sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf 34 | 35 | - name: setup pnpm 36 | uses: pnpm/action-setup@v4 37 | 38 | - name: setup node 39 | uses: actions/setup-node@v4 40 | with: 41 | node-version: lts/* 42 | cache: 'pnpm' 43 | 44 | - name: install Rust stable 45 | uses: dtolnay/rust-toolchain@stable 46 | with: 47 | targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }} 48 | 49 | - name: Rust cache 50 | uses: swatinem/rust-cache@v2 51 | with: 52 | workspaces: './src-tauri -> target' 53 | 54 | - name: install frontend dependencies 55 | # If you don't have `beforeBuildCommand` configured you may want to build your frontend here too. 56 | run: pnpm install # change this to npm or pnpm depending on which one you use. 57 | 58 | - uses: tauri-apps/tauri-action@v0 59 | id: build 60 | env: 61 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 62 | with: 63 | args: ${{ matrix.args }} 64 | includeUpdaterJson: false 65 | 66 | - name: fix JSON 67 | if: matrix.platform != 'windows-latest' 68 | id: truncate_paths 69 | run: echo "paths=$(echo '${{ steps.build.outputs.artifactPaths }}' | sed 's/^..//' | sed 's/..$//')" >> $GITHUB_OUTPUT 70 | 71 | - name: upload macos artifacts (M1) 72 | if: matrix.platform == 'macos-latest' && matrix.arch == 'aarch64' 73 | uses: actions/upload-artifact@v4 74 | with: 75 | name: macos-m1-artifacts 76 | path: ${{ steps.truncate_paths.outputs.paths }} 77 | 78 | - name: upload macos artifacts (Intel) 79 | if: matrix.platform == 'macos-latest' && matrix.arch == 'x86_64' 80 | uses: actions/upload-artifact@v4 81 | with: 82 | name: macos-intel-artifacts 83 | path: ${{ steps.truncate_paths.outputs.paths }} 84 | 85 | - name: upload linux artifacts 86 | if: matrix.platform == 'ubuntu-22.04' 87 | uses: actions/upload-artifact@v4 88 | with: 89 | name: linux-artifacts 90 | path: ${{ steps.truncate_paths.outputs.paths }} 91 | 92 | - name: upload windows artifacts 93 | if: matrix.platform == 'windows-latest' 94 | uses: actions/upload-artifact@v4 95 | with: 96 | name: windows-artifacts 97 | path: "./src-tauri/target/release/bundle/*" # fck windows 98 | 99 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | pnpm-debug.log* 8 | lerna-debug.log* 9 | 10 | node_modules 11 | dist 12 | dist-ssr 13 | *.local 14 | 15 | # Editor directories and files 16 | .vscode/* 17 | !.vscode/extensions.json 18 | .idea 19 | .DS_Store 20 | *.suo 21 | *.ntvs* 22 | *.njsproj 23 | *.sln 24 | *.sw? 25 | *.iml 26 | 27 | # SteamDepotDownloaderGUI files 28 | src-tauri/depotdownloader 29 | src-tauri/*.zip 30 | src-tauri/*.exe 31 | **/DepotDownloader 32 | **/DepotDownloader.xml -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": [ 3 | "tauri-apps.tauri-vscode", 4 | "rust-lang.rust-analyzer" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Contributor Covenant Code of Conduct 2 | 3 | ## Our Pledge 4 | 5 | We as members, contributors, and leaders pledge to make participation in our 6 | 7 | community a harassment-free experience for everyone, regardless of age, body 8 | 9 | size, visible or invisible disability, ethnicity, sex characteristics, gender 10 | 11 | identity and expression, level of experience, education, socio-economic status, 12 | 13 | nationality, personal appearance, race, religion, or sexual identity 14 | 15 | and orientation. 16 | 17 | We pledge to act and interact in ways that contribute to an open, welcoming, 18 | 19 | diverse, inclusive, and healthy community. 20 | 21 | ## Our Standards 22 | 23 | Examples of behavior that contributes to a positive environment for our 24 | 25 | community include: 26 | 27 | * Demonstrating empathy and kindness toward other people 28 | 29 | * Being respectful of differing opinions, viewpoints, and experiences 30 | 31 | * Giving and gracefully accepting constructive feedback 32 | 33 | * Accepting responsibility and apologizing to those affected by our mistakes, 34 | 35 | and learning from the experience 36 | 37 | * Focusing on what is best not just for us as individuals, but for the 38 | 39 | overall community 40 | 41 | Examples of unacceptable behavior include: 42 | 43 | * The use of sexualized language or imagery, and sexual attention or 44 | 45 | advances of any kind 46 | 47 | * Trolling, insulting or derogatory comments, and personal or political attacks 48 | 49 | * Public or private harassment 50 | 51 | * Publishing others' private information, such as a physical or email 52 | 53 | address, without their explicit permission 54 | 55 | * Other conduct which could reasonably be considered inappropriate in a 56 | 57 | professional setting 58 | 59 | ## Enforcement Responsibilities 60 | 61 | Community leaders are responsible for clarifying and enforcing our standards of 62 | 63 | acceptable behavior and will take appropriate and fair corrective action in 64 | 65 | response to any behavior that they deem inappropriate, threatening, offensive, 66 | 67 | or harmful. 68 | 69 | Community leaders have the right and responsibility to remove, edit, or reject 70 | 71 | comments, commits, code, wiki edits, issues, and other contributions that are 72 | 73 | not aligned to this Code of Conduct, and will communicate reasons for moderation 74 | 75 | decisions when appropriate. 76 | 77 | ## Scope 78 | 79 | This Code of Conduct applies within all community spaces, and also applies when 80 | 81 | an individual is officially representing the community in public spaces. 82 | 83 | Examples of representing our community include using an official e-mail address, 84 | 85 | posting via an official social media account, or acting as an appointed 86 | 87 | representative at an online or offline event. 88 | 89 | ## Enforcement 90 | 91 | Instances of abusive, harassing, or otherwise unacceptable behavior may be 92 | 93 | reported to the community leaders responsible for enforcement at 94 | 95 | . 96 | 97 | All complaints will be reviewed and investigated promptly and fairly. 98 | 99 | All community leaders are obligated to respect the privacy and security of the 100 | 101 | reporter of any incident. 102 | 103 | ## Enforcement Guidelines 104 | 105 | Community leaders will follow these Community Impact Guidelines in determining 106 | 107 | the consequences for any action they deem in violation of this Code of Conduct: 108 | 109 | ### 1. Correction 110 | 111 | **Community Impact**: Use of inappropriate language or other behavior deemed 112 | 113 | unprofessional or unwelcome in the community. 114 | 115 | **Consequence**: A private, written warning from community leaders, providing 116 | 117 | clarity around the nature of the violation and an explanation of why the 118 | 119 | behavior was inappropriate. A public apology may be requested. 120 | 121 | ### 2. Warning 122 | 123 | **Community Impact**: A violation through a single incident or series 124 | 125 | of actions. 126 | 127 | **Consequence**: A warning with consequences for continued behavior. No 128 | 129 | interaction with the people involved, including unsolicited interaction with 130 | 131 | those enforcing the Code of Conduct, for a specified period of time. This 132 | 133 | includes avoiding interactions in community spaces as well as external channels 134 | 135 | like social media. Violating these terms may lead to a temporary or 136 | 137 | permanent ban. 138 | 139 | ### 3. Temporary Ban 140 | 141 | **Community Impact**: A serious violation of community standards, including 142 | 143 | sustained inappropriate behavior. 144 | 145 | **Consequence**: A temporary ban from any sort of interaction or public 146 | 147 | communication with the community for a specified period of time. No public or 148 | 149 | private interaction with the people involved, including unsolicited interaction 150 | 151 | with those enforcing the Code of Conduct, is allowed during this period. 152 | 153 | Violating these terms may lead to a permanent ban. 154 | 155 | ### 4. Permanent Ban 156 | 157 | **Community Impact**: Demonstrating a pattern of violation of community 158 | 159 | standards, including sustained inappropriate behavior, harassment of an 160 | 161 | individual, or aggression toward or disparagement of classes of individuals. 162 | 163 | **Consequence**: A permanent ban from any sort of public interaction within 164 | 165 | the community. 166 | 167 | ## Attribution 168 | 169 | This Code of Conduct is adapted from the [Contributor Covenant][homepage], 170 | 171 | version 2.1, available at 172 | 173 | [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1]. 174 | 175 | Community Impact Guidelines were inspired by 176 | 177 | [Mozilla's code of conduct enforcement ladder][mozilla coc]. 178 | 179 | For answers to common questions about this code of conduct, see the FAQ at 180 | 181 | [https://www.contributor-covenant.org/faq][faq]. Translations are available at 182 | 183 | [https://www.contributor-covenant.org/translations][translations]. 184 | 185 | [homepage]: https://www.contributor-covenant.org 186 | 187 | [v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html 188 | 189 | [mozilla coc]: https://github.com/mozilla/diversity 190 | 191 | [faq]: https://www.contributor-covenant.org/faq 192 | 193 | [translations]: https://www.contributor-covenant.org/translations 194 | 195 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU General Public License is a free, copyleft license for 11 | software and other kinds of works. 12 | 13 | The licenses for most software and other practical works are designed 14 | to take away your freedom to share and change the works. By contrast, 15 | the GNU General Public License is intended to guarantee your freedom to 16 | share and change all versions of a program--to make sure it remains free 17 | software for all its users. We, the Free Software Foundation, use the 18 | GNU General Public License for most of our software; it applies also to 19 | any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | them if you wish), that you receive source code or can get it if you 26 | want it, that you can change the software or use pieces of it in new 27 | free programs, and that you know you can do these things. 28 | 29 | To protect your rights, we need to prevent others from denying you 30 | these rights or asking you to surrender the rights. Therefore, you have 31 | certain responsibilities if you distribute copies of the software, or if 32 | you modify it: responsibilities to respect the freedom of others. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must pass on to the recipients the same 36 | freedoms that you received. You must make sure that they, too, receive 37 | or can get the source code. And you must show them these terms so they 38 | know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: 41 | (1) assert copyright on the software, and (2) offer you this License 42 | giving you legal permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains 45 | that there is no warranty for this free software. For both users' and 46 | authors' sake, the GPL requires that modified versions be marked as 47 | changed, so that their problems will not be attributed erroneously to 48 | authors of previous versions. 49 | 50 | Some devices are designed to deny users access to install or run 51 | modified versions of the software inside them, although the manufacturer 52 | can do so. This is fundamentally incompatible with the aim of 53 | protecting users' freedom to change the software. The systematic 54 | pattern of such abuse occurs in the area of products for individuals to 55 | use, which is precisely where it is most unacceptable. Therefore, we 56 | have designed this version of the GPL to prohibit the practice for those 57 | products. If such problems arise substantially in other domains, we 58 | stand ready to extend this provision to those domains in future versions 59 | of the GPL, as needed to protect the freedom of users. 60 | 61 | Finally, every program is threatened constantly by software patents. 62 | States should not allow patents to restrict development and use of 63 | software on general-purpose computers, but in those that do, we wish to 64 | avoid the special danger that patents applied to a free program could 65 | make it effectively proprietary. To prevent this, the GPL assures that 66 | patents cannot be used to render the program non-free. 67 | 68 | The precise terms and conditions for copying, distribution and 69 | modification follow. 70 | 71 | TERMS AND CONDITIONS 72 | 73 | 0. Definitions. 74 | 75 | "This License" refers to version 3 of the GNU General Public License. 76 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of 78 | works, such as semiconductor masks. 79 | 80 | "The Program" refers to any copyrightable work licensed under this 81 | License. Each licensee is addressed as "you". "Licensees" and 82 | "recipients" may be individuals or organizations. 83 | 84 | To "modify" a work means to copy from or adapt all or part of the work 85 | in a fashion requiring copyright permission, other than the making of an 86 | exact copy. The resulting work is called a "modified version" of the 87 | earlier work or a work "based on" the earlier work. 88 | 89 | A "covered work" means either the unmodified Program or a work based 90 | on the Program. 91 | 92 | To "propagate" a work means to do anything with it that, without 93 | permission, would make you directly or secondarily liable for 94 | infringement under applicable copyright law, except executing it on a 95 | computer or modifying a private copy. Propagation includes copying, 96 | distribution (with or without modification), making available to the 97 | public, and in some countries other activities as well. 98 | 99 | To "convey" a work means any kind of propagation that enables other 100 | parties to make or receive copies. Mere interaction with a user through 101 | a computer network, with no transfer of a copy, is not conveying. 102 | 103 | An interactive user interface displays "Appropriate Legal Notices" 104 | to the extent that it includes a convenient and prominently visible 105 | feature that (1) displays an appropriate copyright notice, and (2) 106 | tells the user that there is no warranty for the work (except to the 107 | extent that warranties are provided), that licensees may convey the 108 | work under this License, and how to view a copy of this License. If 109 | the interface presents a list of user commands or options, such as a 110 | menu, a prominent item in the list meets this criterion. 111 | 112 | 1. Source Code. 113 | 114 | The "source code" for a work means the preferred form of the work 115 | for making modifications to it. "Object code" means any non-source 116 | form of a work. 117 | 118 | A "Standard Interface" means an interface that either is an official 119 | standard defined by a recognized standards body, or, in the case of 120 | interfaces specified for a particular programming language, one that 121 | is widely used among developers working in that language. 122 | 123 | The "System Libraries" of an executable work include anything, other 124 | than the work as a whole, that (a) is included in the normal form of 125 | packaging a Major Component, but which is not part of that Major 126 | Component, and (b) serves only to enable use of the work with that 127 | Major Component, or to implement a Standard Interface for which an 128 | implementation is available to the public in source code form. A 129 | "Major Component", in this context, means a major essential component 130 | (kernel, window system, and so on) of the specific operating system 131 | (if any) on which the executable work runs, or a compiler used to 132 | produce the work, or an object code interpreter used to run it. 133 | 134 | The "Corresponding Source" for a work in object code form means all 135 | the source code needed to generate, install, and (for an executable 136 | work) run the object code and to modify the work, including scripts to 137 | control those activities. However, it does not include the work's 138 | System Libraries, or general-purpose tools or generally available free 139 | programs which are used unmodified in performing those activities but 140 | which are not part of the work. For example, Corresponding Source 141 | includes interface definition files associated with source files for 142 | the work, and the source code for shared libraries and dynamically 143 | linked subprograms that the work is specifically designed to require, 144 | such as by intimate data communication or control flow between those 145 | subprograms and other parts of the work. 146 | 147 | The Corresponding Source need not include anything that users 148 | can regenerate automatically from other parts of the Corresponding 149 | Source. 150 | 151 | The Corresponding Source for a work in source code form is that 152 | same work. 153 | 154 | 2. Basic Permissions. 155 | 156 | All rights granted under this License are granted for the term of 157 | copyright on the Program, and are irrevocable provided the stated 158 | conditions are met. This License explicitly affirms your unlimited 159 | permission to run the unmodified Program. The output from running a 160 | covered work is covered by this License only if the output, given its 161 | content, constitutes a covered work. This License acknowledges your 162 | rights of fair use or other equivalent, as provided by copyright law. 163 | 164 | You may make, run and propagate covered works that you do not 165 | convey, without conditions so long as your license otherwise remains 166 | in force. You may convey covered works to others for the sole purpose 167 | of having them make modifications exclusively for you, or provide you 168 | with facilities for running those works, provided that you comply with 169 | the terms of this License in conveying all material for which you do 170 | not control copyright. Those thus making or running the covered works 171 | for you must do so exclusively on your behalf, under your direction 172 | and control, on terms that prohibit them from making any copies of 173 | your copyrighted material outside their relationship with you. 174 | 175 | Conveying under any other circumstances is permitted solely under 176 | the conditions stated below. Sublicensing is not allowed; section 10 177 | makes it unnecessary. 178 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180 | 181 | No covered work shall be deemed part of an effective technological 182 | measure under any applicable law fulfilling obligations under article 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 184 | similar laws prohibiting or restricting circumvention of such 185 | measures. 186 | 187 | When you convey a covered work, you waive any legal power to forbid 188 | circumvention of technological measures to the extent such circumvention 189 | is effected by exercising rights under this License with respect to 190 | the covered work, and you disclaim any intention to limit operation or 191 | modification of the work as a means of enforcing, against the work's 192 | users, your or third parties' legal rights to forbid circumvention of 193 | technological measures. 194 | 195 | 4. Conveying Verbatim Copies. 196 | 197 | You may convey verbatim copies of the Program's source code as you 198 | receive it, in any medium, provided that you conspicuously and 199 | appropriately publish on each copy an appropriate copyright notice; 200 | keep intact all notices stating that this License and any 201 | non-permissive terms added in accord with section 7 apply to the code; 202 | keep intact all notices of the absence of any warranty; and give all 203 | recipients a copy of this License along with the Program. 204 | 205 | You may charge any price or no price for each copy that you convey, 206 | and you may offer support or warranty protection for a fee. 207 | 208 | 5. Conveying Modified Source Versions. 209 | 210 | You may convey a work based on the Program, or the modifications to 211 | produce it from the Program, in the form of source code under the 212 | terms of section 4, provided that you also meet all of these conditions: 213 | 214 | a) The work must carry prominent notices stating that you modified 215 | it, and giving a relevant date. 216 | 217 | b) The work must carry prominent notices stating that it is 218 | released under this License and any conditions added under section 219 | 7. This requirement modifies the requirement in section 4 to 220 | "keep intact all notices". 221 | 222 | c) You must license the entire work, as a whole, under this 223 | License to anyone who comes into possession of a copy. This 224 | License will therefore apply, along with any applicable section 7 225 | additional terms, to the whole of the work, and all its parts, 226 | regardless of how they are packaged. This License gives no 227 | permission to license the work in any other way, but it does not 228 | invalidate such permission if you have separately received it. 229 | 230 | d) If the work has interactive user interfaces, each must display 231 | Appropriate Legal Notices; however, if the Program has interactive 232 | interfaces that do not display Appropriate Legal Notices, your 233 | work need not make them do so. 234 | 235 | A compilation of a covered work with other separate and independent 236 | works, which are not by their nature extensions of the covered work, 237 | and which are not combined with it such as to form a larger program, 238 | in or on a volume of a storage or distribution medium, is called an 239 | "aggregate" if the compilation and its resulting copyright are not 240 | used to limit the access or legal rights of the compilation's users 241 | beyond what the individual works permit. Inclusion of a covered work 242 | in an aggregate does not cause this License to apply to the other 243 | parts of the aggregate. 244 | 245 | 6. Conveying Non-Source Forms. 246 | 247 | You may convey a covered work in object code form under the terms 248 | of sections 4 and 5, provided that you also convey the 249 | machine-readable Corresponding Source under the terms of this License, 250 | in one of these ways: 251 | 252 | a) Convey the object code in, or embodied in, a physical product 253 | (including a physical distribution medium), accompanied by the 254 | Corresponding Source fixed on a durable physical medium 255 | customarily used for software interchange. 256 | 257 | b) Convey the object code in, or embodied in, a physical product 258 | (including a physical distribution medium), accompanied by a 259 | written offer, valid for at least three years and valid for as 260 | long as you offer spare parts or customer support for that product 261 | model, to give anyone who possesses the object code either (1) a 262 | copy of the Corresponding Source for all the software in the 263 | product that is covered by this License, on a durable physical 264 | medium customarily used for software interchange, for a price no 265 | more than your reasonable cost of physically performing this 266 | conveying of source, or (2) access to copy the 267 | Corresponding Source from a network server at no charge. 268 | 269 | c) Convey individual copies of the object code with a copy of the 270 | written offer to provide the Corresponding Source. This 271 | alternative is allowed only occasionally and noncommercially, and 272 | only if you received the object code with such an offer, in accord 273 | with subsection 6b. 274 | 275 | d) Convey the object code by offering access from a designated 276 | place (gratis or for a charge), and offer equivalent access to the 277 | Corresponding Source in the same way through the same place at no 278 | further charge. You need not require recipients to copy the 279 | Corresponding Source along with the object code. If the place to 280 | copy the object code is a network server, the Corresponding Source 281 | may be on a different server (operated by you or a third party) 282 | that supports equivalent copying facilities, provided you maintain 283 | clear directions next to the object code saying where to find the 284 | Corresponding Source. Regardless of what server hosts the 285 | Corresponding Source, you remain obligated to ensure that it is 286 | available for as long as needed to satisfy these requirements. 287 | 288 | e) Convey the object code using peer-to-peer transmission, provided 289 | you inform other peers where the object code and Corresponding 290 | Source of the work are being offered to the general public at no 291 | charge under subsection 6d. 292 | 293 | A separable portion of the object code, whose source code is excluded 294 | from the Corresponding Source as a System Library, need not be 295 | included in conveying the object code work. 296 | 297 | A "User Product" is either (1) a "consumer product", which means any 298 | tangible personal property which is normally used for personal, family, 299 | or household purposes, or (2) anything designed or sold for incorporation 300 | into a dwelling. In determining whether a product is a consumer product, 301 | doubtful cases shall be resolved in favor of coverage. For a particular 302 | product received by a particular user, "normally used" refers to a 303 | typical or common use of that class of product, regardless of the status 304 | of the particular user or of the way in which the particular user 305 | actually uses, or expects or is expected to use, the product. A product 306 | is a consumer product regardless of whether the product has substantial 307 | commercial, industrial or non-consumer uses, unless such uses represent 308 | the only significant mode of use of the product. 309 | 310 | "Installation Information" for a User Product means any methods, 311 | procedures, authorization keys, or other information required to install 312 | and execute modified versions of a covered work in that User Product from 313 | a modified version of its Corresponding Source. The information must 314 | suffice to ensure that the continued functioning of the modified object 315 | code is in no case prevented or interfered with solely because 316 | modification has been made. 317 | 318 | If you convey an object code work under this section in, or with, or 319 | specifically for use in, a User Product, and the conveying occurs as 320 | part of a transaction in which the right of possession and use of the 321 | User Product is transferred to the recipient in perpetuity or for a 322 | fixed term (regardless of how the transaction is characterized), the 323 | Corresponding Source conveyed under this section must be accompanied 324 | by the Installation Information. But this requirement does not apply 325 | if neither you nor any third party retains the ability to install 326 | modified object code on the User Product (for example, the work has 327 | been installed in ROM). 328 | 329 | The requirement to provide Installation Information does not include a 330 | requirement to continue to provide support service, warranty, or updates 331 | for a work that has been modified or installed by the recipient, or for 332 | the User Product in which it has been modified or installed. Access to a 333 | network may be denied when the modification itself materially and 334 | adversely affects the operation of the network or violates the rules and 335 | protocols for communication across the network. 336 | 337 | Corresponding Source conveyed, and Installation Information provided, 338 | in accord with this section must be in a format that is publicly 339 | documented (and with an implementation available to the public in 340 | source code form), and must require no special password or key for 341 | unpacking, reading or copying. 342 | 343 | 7. Additional Terms. 344 | 345 | "Additional permissions" are terms that supplement the terms of this 346 | License by making exceptions from one or more of its conditions. 347 | Additional permissions that are applicable to the entire Program shall 348 | be treated as though they were included in this License, to the extent 349 | that they are valid under applicable law. If additional permissions 350 | apply only to part of the Program, that part may be used separately 351 | under those permissions, but the entire Program remains governed by 352 | this License without regard to the additional permissions. 353 | 354 | When you convey a copy of a covered work, you may at your option 355 | remove any additional permissions from that copy, or from any part of 356 | it. (Additional permissions may be written to require their own 357 | removal in certain cases when you modify the work.) You may place 358 | additional permissions on material, added by you to a covered work, 359 | for which you have or can give appropriate copyright permission. 360 | 361 | Notwithstanding any other provision of this License, for material you 362 | add to a covered work, you may (if authorized by the copyright holders of 363 | that material) supplement the terms of this License with terms: 364 | 365 | a) Disclaiming warranty or limiting liability differently from the 366 | terms of sections 15 and 16 of this License; or 367 | 368 | b) Requiring preservation of specified reasonable legal notices or 369 | author attributions in that material or in the Appropriate Legal 370 | Notices displayed by works containing it; or 371 | 372 | c) Prohibiting misrepresentation of the origin of that material, or 373 | requiring that modified versions of such material be marked in 374 | reasonable ways as different from the original version; or 375 | 376 | d) Limiting the use for publicity purposes of names of licensors or 377 | authors of the material; or 378 | 379 | e) Declining to grant rights under trademark law for use of some 380 | trade names, trademarks, or service marks; or 381 | 382 | f) Requiring indemnification of licensors and authors of that 383 | material by anyone who conveys the material (or modified versions of 384 | it) with contractual assumptions of liability to the recipient, for 385 | any liability that these contractual assumptions directly impose on 386 | those licensors and authors. 387 | 388 | All other non-permissive additional terms are considered "further 389 | restrictions" within the meaning of section 10. If the Program as you 390 | received it, or any part of it, contains a notice stating that it is 391 | governed by this License along with a term that is a further 392 | restriction, you may remove that term. If a license document contains 393 | a further restriction but permits relicensing or conveying under this 394 | License, you may add to a covered work material governed by the terms 395 | of that license document, provided that the further restriction does 396 | not survive such relicensing or conveying. 397 | 398 | If you add terms to a covered work in accord with this section, you 399 | must place, in the relevant source files, a statement of the 400 | additional terms that apply to those files, or a notice indicating 401 | where to find the applicable terms. 402 | 403 | Additional terms, permissive or non-permissive, may be stated in the 404 | form of a separately written license, or stated as exceptions; 405 | the above requirements apply either way. 406 | 407 | 8. Termination. 408 | 409 | You may not propagate or modify a covered work except as expressly 410 | provided under this License. Any attempt otherwise to propagate or 411 | modify it is void, and will automatically terminate your rights under 412 | this License (including any patent licenses granted under the third 413 | paragraph of section 11). 414 | 415 | However, if you cease all violation of this License, then your 416 | license from a particular copyright holder is reinstated (a) 417 | provisionally, unless and until the copyright holder explicitly and 418 | finally terminates your license, and (b) permanently, if the copyright 419 | holder fails to notify you of the violation by some reasonable means 420 | prior to 60 days after the cessation. 421 | 422 | Moreover, your license from a particular copyright holder is 423 | reinstated permanently if the copyright holder notifies you of the 424 | violation by some reasonable means, this is the first time you have 425 | received notice of violation of this License (for any work) from that 426 | copyright holder, and you cure the violation prior to 30 days after 427 | your receipt of the notice. 428 | 429 | Termination of your rights under this section does not terminate the 430 | licenses of parties who have received copies or rights from you under 431 | this License. If your rights have been terminated and not permanently 432 | reinstated, you do not qualify to receive new licenses for the same 433 | material under section 10. 434 | 435 | 9. Acceptance Not Required for Having Copies. 436 | 437 | You are not required to accept this License in order to receive or 438 | run a copy of the Program. Ancillary propagation of a covered work 439 | occurring solely as a consequence of using peer-to-peer transmission 440 | to receive a copy likewise does not require acceptance. However, 441 | nothing other than this License grants you permission to propagate or 442 | modify any covered work. These actions infringe copyright if you do 443 | not accept this License. Therefore, by modifying or propagating a 444 | covered work, you indicate your acceptance of this License to do so. 445 | 446 | 10. Automatic Licensing of Downstream Recipients. 447 | 448 | Each time you convey a covered work, the recipient automatically 449 | receives a license from the original licensors, to run, modify and 450 | propagate that work, subject to this License. You are not responsible 451 | for enforcing compliance by third parties with this License. 452 | 453 | An "entity transaction" is a transaction transferring control of an 454 | organization, or substantially all assets of one, or subdividing an 455 | organization, or merging organizations. If propagation of a covered 456 | work results from an entity transaction, each party to that 457 | transaction who receives a copy of the work also receives whatever 458 | licenses to the work the party's predecessor in interest had or could 459 | give under the previous paragraph, plus a right to possession of the 460 | Corresponding Source of the work from the predecessor in interest, if 461 | the predecessor has it or can get it with reasonable efforts. 462 | 463 | You may not impose any further restrictions on the exercise of the 464 | rights granted or affirmed under this License. For example, you may 465 | not impose a license fee, royalty, or other charge for exercise of 466 | rights granted under this License, and you may not initiate litigation 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that 468 | any patent claim is infringed by making, using, selling, offering for 469 | sale, or importing the Program or any portion of it. 470 | 471 | 11. Patents. 472 | 473 | A "contributor" is a copyright holder who authorizes use under this 474 | License of the Program or a work on which the Program is based. The 475 | work thus licensed is called the contributor's "contributor version". 476 | 477 | A contributor's "essential patent claims" are all patent claims 478 | owned or controlled by the contributor, whether already acquired or 479 | hereafter acquired, that would be infringed by some manner, permitted 480 | by this License, of making, using, or selling its contributor version, 481 | but do not include claims that would be infringed only as a 482 | consequence of further modification of the contributor version. For 483 | purposes of this definition, "control" includes the right to grant 484 | patent sublicenses in a manner consistent with the requirements of 485 | this License. 486 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free 488 | patent license under the contributor's essential patent claims, to 489 | make, use, sell, offer for sale, import and otherwise run, modify and 490 | propagate the contents of its contributor version. 491 | 492 | In the following three paragraphs, a "patent license" is any express 493 | agreement or commitment, however denominated, not to enforce a patent 494 | (such as an express permission to practice a patent or covenant not to 495 | sue for patent infringement). To "grant" such a patent license to a 496 | party means to make such an agreement or commitment not to enforce a 497 | patent against the party. 498 | 499 | If you convey a covered work, knowingly relying on a patent license, 500 | and the Corresponding Source of the work is not available for anyone 501 | to copy, free of charge and under the terms of this License, through a 502 | publicly available network server or other readily accessible means, 503 | then you must either (1) cause the Corresponding Source to be so 504 | available, or (2) arrange to deprive yourself of the benefit of the 505 | patent license for this particular work, or (3) arrange, in a manner 506 | consistent with the requirements of this License, to extend the patent 507 | license to downstream recipients. "Knowingly relying" means you have 508 | actual knowledge that, but for the patent license, your conveying the 509 | covered work in a country, or your recipient's use of the covered work 510 | in a country, would infringe one or more identifiable patents in that 511 | country that you have reason to believe are valid. 512 | 513 | If, pursuant to or in connection with a single transaction or 514 | arrangement, you convey, or propagate by procuring conveyance of, a 515 | covered work, and grant a patent license to some of the parties 516 | receiving the covered work authorizing them to use, propagate, modify 517 | or convey a specific copy of the covered work, then the patent license 518 | you grant is automatically extended to all recipients of the covered 519 | work and works based on it. 520 | 521 | A patent license is "discriminatory" if it does not include within 522 | the scope of its coverage, prohibits the exercise of, or is 523 | conditioned on the non-exercise of one or more of the rights that are 524 | specifically granted under this License. You may not convey a covered 525 | work if you are a party to an arrangement with a third party that is 526 | in the business of distributing software, under which you make payment 527 | to the third party based on the extent of your activity of conveying 528 | the work, and under which the third party grants, to any of the 529 | parties who would receive the covered work from you, a discriminatory 530 | patent license (a) in connection with copies of the covered work 531 | conveyed by you (or copies made from those copies), or (b) primarily 532 | for and in connection with specific products or compilations that 533 | contain the covered work, unless you entered into that arrangement, 534 | or that patent license was granted, prior to 28 March 2007. 535 | 536 | Nothing in this License shall be construed as excluding or limiting 537 | any implied license or other defenses to infringement that may 538 | otherwise be available to you under applicable patent law. 539 | 540 | 12. No Surrender of Others' Freedom. 541 | 542 | If conditions are imposed on you (whether by court order, agreement or 543 | otherwise) that contradict the conditions of this License, they do not 544 | excuse you from the conditions of this License. If you cannot convey a 545 | covered work so as to satisfy simultaneously your obligations under this 546 | License and any other pertinent obligations, then as a consequence you may 547 | not convey it at all. For example, if you agree to terms that obligate you 548 | to collect a royalty for further conveying from those to whom you convey 549 | the Program, the only way you could satisfy both those terms and this 550 | License would be to refrain entirely from conveying the Program. 551 | 552 | 13. Use with the GNU Affero General Public License. 553 | 554 | Notwithstanding any other provision of this License, you have 555 | permission to link or combine any covered work with a work licensed 556 | under version 3 of the GNU Affero General Public License into a single 557 | combined work, and to convey the resulting work. The terms of this 558 | License will continue to apply to the part which is the covered work, 559 | but the special requirements of the GNU Affero General Public License, 560 | section 13, concerning interaction through a network will apply to the 561 | combination as such. 562 | 563 | 14. Revised Versions of this License. 564 | 565 | The Free Software Foundation may publish revised and/or new versions of 566 | the GNU General Public License from time to time. Such new versions will 567 | be similar in spirit to the present version, but may differ in detail to 568 | address new problems or concerns. 569 | 570 | Each version is given a distinguishing version number. If the 571 | Program specifies that a certain numbered version of the GNU General 572 | Public License "or any later version" applies to it, you have the 573 | option of following the terms and conditions either of that numbered 574 | version or of any later version published by the Free Software 575 | Foundation. If the Program does not specify a version number of the 576 | GNU General Public License, you may choose any version ever published 577 | by the Free Software Foundation. 578 | 579 | If the Program specifies that a proxy can decide which future 580 | versions of the GNU General Public License can be used, that proxy's 581 | public statement of acceptance of a version permanently authorizes you 582 | to choose that version for the Program. 583 | 584 | Later license versions may give you additional or different 585 | permissions. However, no additional obligations are imposed on any 586 | author or copyright holder as a result of your choosing to follow a 587 | later version. 588 | 589 | 15. Disclaimer of Warranty. 590 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599 | 600 | 16. Limitation of Liability. 601 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610 | SUCH DAMAGES. 611 | 612 | 17. Interpretation of Sections 15 and 16. 613 | 614 | If the disclaimer of warranty and limitation of liability provided 615 | above cannot be given local legal effect according to their terms, 616 | reviewing courts shall apply local law that most closely approximates 617 | an absolute waiver of all civil liability in connection with the 618 | Program, unless a warranty or assumption of liability accompanies a 619 | copy of the Program in return for a fee. 620 | 621 | END OF TERMS AND CONDITIONS 622 | 623 | How to Apply These Terms to Your New Programs 624 | 625 | If you develop a new program, and you want it to be of the greatest 626 | possible use to the public, the best way to achieve this is to make it 627 | free software which everyone can redistribute and change under these terms. 628 | 629 | To do so, attach the following notices to the program. It is safest 630 | to attach them to the start of each source file to most effectively 631 | state the exclusion of warranty; and each file should have at least 632 | the "copyright" line and a pointer to where the full notice is found. 633 | 634 | 635 | Copyright (C) 636 | 637 | This program is free software: you can redistribute it and/or modify 638 | it under the terms of the GNU General Public License as published by 639 | the Free Software Foundation, either version 3 of the License, or 640 | (at your option) any later version. 641 | 642 | This program is distributed in the hope that it will be useful, 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 | GNU General Public License for more details. 646 | 647 | You should have received a copy of the GNU General Public License 648 | along with this program. If not, see . 649 | 650 | Also add information on how to contact you by electronic and paper mail. 651 | 652 | If the program does terminal interaction, make it output a short 653 | notice like this when it starts in an interactive mode: 654 | 655 | Copyright (C) 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 | This is free software, and you are welcome to redistribute it 658 | under certain conditions; type `show c' for details. 659 | 660 | The hypothetical commands `show w' and `show c' should show the appropriate 661 | parts of the General Public License. Of course, your program's commands 662 | might be different; for a GUI interface, you would use an "about box". 663 | 664 | You should also get your employer (if you work as a programmer) or school, 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. 666 | For more information on this, and how to apply and follow the GNU GPL, see 667 | . 668 | 669 | The GNU General Public License does not permit incorporating your program 670 | into proprietary programs. If your program is a subroutine library, you 671 | may consider it more useful to permit linking proprietary applications with 672 | the library. If this is what you want to do, use the GNU Lesser General 673 | Public License instead of this License. But first, please read 674 | . 675 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |
2 |

SteamDepotDownloaderGUI

3 |

A graphical wrapper for DepotDownloader, designed to make downloading older versions of Steam games easy.

4 | 5 | → Tutorial ~ 6 | Website ~ 7 | Example usage ← 8 | 9 | 10 | 11 | Last contribution badge 12 | Download latest release badge 13 | Download count badge 14 | 15 | Steam downgrader interface 16 |
17 | 18 | 19 | ## Features 20 | - **Cross-platform support** 21 | | OS | Supported | 22 | |---------|-----------| 23 | | Windows | ✅ | 24 | | Linux | ✅ | 25 | | macOS | ✅ | 26 | 27 | - **Support for every major Linux terminal emulator** 28 |
List of supported terminals 29 | 30 | * GNOME Terminal 31 | * GNOME Console 32 | * Konsole 33 | * Xfce-terminal 34 | * Alacritty 35 | * XTerm 36 | * Terminator 37 | * cool-retro-term 38 | * Kitty 39 | * LXTerminal 40 | * Deepin Terminal 41 | * Terminology 42 | * Tilix 43 |
44 | 45 | - **Automatic download and extraction of DepotDownloader** 46 | 47 | 48 | ## How to download 49 | > [!CAUTION] 50 | > This GitHub repository is the only official place to download this software. 51 | > If you have paid for this software, or downloaded this from an untrusted place, **you are at risk** and an idiot. 52 | 53 | 54 | ### Windows: 55 | Download the [latest Windows release](https://github.com/mmvanheusden/SteamDepotDownloaderGUI/releases/latest). There are multiple variants to choose from, but you are probably looking for the file that ends with **`.exe`**. 56 | 57 | 58 | ### Linux: 59 | You'll need at least one of the supported terminal emulators. You most likely already have one of these. 60 | 61 | Download the [latest Linux release](https://github.com/mmvanheusden/SteamDepotDownloaderGUI/releases/latest). There are multiple options to choose from. 62 | 63 | 64 | ## Tutorials 65 | * https://www.youtube.com/watch?v=H2COwT5OUOo How to download older versions of Steam games tutorial 66 | 67 | * https://www.youtube.com/watch?v=ogiDAuH3VdY How to download older versions of Subnautica tutorial 68 | 69 | 70 | ## Credits 71 | This software makes use of the following projects: 72 | - [**DepotDownloader**](https://github.com/SteamRE/DepotDownloader/) 73 | - [Tauri](https://tauri.app) 74 | - [Primer CSS](https://primer.style/css/) 75 | - [async-process](https://github.com/smol-rs/async-process) 76 | - [Hubut Sans](https://github.com/github/hubot-sans) under [license](https://github.com/github/hubot-sans/blob/05d5ea150c20e6434485db8ffd2277ed18a9e911/LICENSE) 77 | 78 | 79 | ## Donate 80 | You can donate [here](paypal.me/onderkin) or through the **donate** button in the interface. 81 | 82 | 83 | ## Contribute 84 | Every pull request is welcome! ;) 85 | Please cleanup the code using: 86 | ```console 87 | $ pnpm eslint --fix src/ 88 | ``` 89 | 90 | 91 |

92 | 93 | 94 | 95 | 96 | 97 | 98 |

99 | 100 | -------------------------------------------------------------------------------- /eslint.config.js: -------------------------------------------------------------------------------- 1 | // @ts-check 2 | 3 | import eslint from '@eslint/js'; 4 | import tseslint from 'typescript-eslint'; 5 | 6 | export default tseslint.config( 7 | { 8 | files: ["src/**"], 9 | rules: { 10 | "semi": ["error", "always"], // semicolons 11 | "indent": ["error", "tab"], // tabs indents 12 | "linebreak-style": ["error", "unix"], 13 | "quotes": ["error", "double"] 14 | } 15 | }, 16 | eslint.configs.recommended, 17 | ...tseslint.configs.stylistic, 18 | ); -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "vectum", 3 | "private": true, 4 | "version": "3.0.1", 5 | "type": "module", 6 | "license": "GPL-3.0-only", 7 | "scripts": { 8 | "dev": "vite", 9 | "build": "tsc && vite build", 10 | "preview": "vite preview", 11 | "tauri": "tauri" 12 | }, 13 | "dependencies": { 14 | "@tauri-apps/api": "2.5.0", 15 | "@tauri-apps/plugin-dialog": "2.2.1", 16 | "@tauri-apps/plugin-shell": "2.2.1", 17 | "jquery": "^3.7.1" 18 | }, 19 | "devDependencies": { 20 | "@eslint/js": "^9.25.1", 21 | "@tauri-apps/cli": "2.5.0", 22 | "@types/eslint__js": "^8.42.3", 23 | "@types/jquery": "^3.5.32", 24 | "eslint": "^9.25.1", 25 | "typescript": "^5.8.3", 26 | "typescript-eslint": "^8.31.1", 27 | "vite": "^6.3.5" 28 | }, 29 | "packageManager": "pnpm@10.4.1" 30 | } 31 | -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- 1 | lockfileVersion: '9.0' 2 | 3 | settings: 4 | autoInstallPeers: true 5 | excludeLinksFromLockfile: false 6 | 7 | importers: 8 | 9 | .: 10 | dependencies: 11 | '@tauri-apps/api': 12 | specifier: 2.5.0 13 | version: 2.5.0 14 | '@tauri-apps/plugin-dialog': 15 | specifier: 2.2.1 16 | version: 2.2.1 17 | '@tauri-apps/plugin-shell': 18 | specifier: 2.2.1 19 | version: 2.2.1 20 | jquery: 21 | specifier: ^3.7.1 22 | version: 3.7.1 23 | devDependencies: 24 | '@eslint/js': 25 | specifier: ^9.25.1 26 | version: 9.25.1 27 | '@tauri-apps/cli': 28 | specifier: 2.5.0 29 | version: 2.5.0 30 | '@types/eslint__js': 31 | specifier: ^8.42.3 32 | version: 8.42.3 33 | '@types/jquery': 34 | specifier: ^3.5.32 35 | version: 3.5.32 36 | eslint: 37 | specifier: ^9.25.1 38 | version: 9.25.1 39 | typescript: 40 | specifier: ^5.8.3 41 | version: 5.8.3 42 | typescript-eslint: 43 | specifier: ^8.31.1 44 | version: 8.31.1(eslint@9.25.1)(typescript@5.8.3) 45 | vite: 46 | specifier: ^6.3.5 47 | version: 6.3.5 48 | 49 | packages: 50 | 51 | '@esbuild/aix-ppc64@0.25.4': 52 | resolution: {integrity: sha512-1VCICWypeQKhVbE9oW/sJaAmjLxhVqacdkvPLEjwlttjfwENRSClS8EjBz0KzRyFSCPDIkuXW34Je/vk7zdB7Q==} 53 | engines: {node: '>=18'} 54 | cpu: [ppc64] 55 | os: [aix] 56 | 57 | '@esbuild/android-arm64@0.25.4': 58 | resolution: {integrity: sha512-bBy69pgfhMGtCnwpC/x5QhfxAz/cBgQ9enbtwjf6V9lnPI/hMyT9iWpR1arm0l3kttTr4L0KSLpKmLp/ilKS9A==} 59 | engines: {node: '>=18'} 60 | cpu: [arm64] 61 | os: [android] 62 | 63 | '@esbuild/android-arm@0.25.4': 64 | resolution: {integrity: sha512-QNdQEps7DfFwE3hXiU4BZeOV68HHzYwGd0Nthhd3uCkkEKK7/R6MTgM0P7H7FAs5pU/DIWsviMmEGxEoxIZ+ZQ==} 65 | engines: {node: '>=18'} 66 | cpu: [arm] 67 | os: [android] 68 | 69 | '@esbuild/android-x64@0.25.4': 70 | resolution: {integrity: sha512-TVhdVtQIFuVpIIR282btcGC2oGQoSfZfmBdTip2anCaVYcqWlZXGcdcKIUklfX2wj0JklNYgz39OBqh2cqXvcQ==} 71 | engines: {node: '>=18'} 72 | cpu: [x64] 73 | os: [android] 74 | 75 | '@esbuild/darwin-arm64@0.25.4': 76 | resolution: {integrity: sha512-Y1giCfM4nlHDWEfSckMzeWNdQS31BQGs9/rouw6Ub91tkK79aIMTH3q9xHvzH8d0wDru5Ci0kWB8b3up/nl16g==} 77 | engines: {node: '>=18'} 78 | cpu: [arm64] 79 | os: [darwin] 80 | 81 | '@esbuild/darwin-x64@0.25.4': 82 | resolution: {integrity: sha512-CJsry8ZGM5VFVeyUYB3cdKpd/H69PYez4eJh1W/t38vzutdjEjtP7hB6eLKBoOdxcAlCtEYHzQ/PJ/oU9I4u0A==} 83 | engines: {node: '>=18'} 84 | cpu: [x64] 85 | os: [darwin] 86 | 87 | '@esbuild/freebsd-arm64@0.25.4': 88 | resolution: {integrity: sha512-yYq+39NlTRzU2XmoPW4l5Ifpl9fqSk0nAJYM/V/WUGPEFfek1epLHJIkTQM6bBs1swApjO5nWgvr843g6TjxuQ==} 89 | engines: {node: '>=18'} 90 | cpu: [arm64] 91 | os: [freebsd] 92 | 93 | '@esbuild/freebsd-x64@0.25.4': 94 | resolution: {integrity: sha512-0FgvOJ6UUMflsHSPLzdfDnnBBVoCDtBTVyn/MrWloUNvq/5SFmh13l3dvgRPkDihRxb77Y17MbqbCAa2strMQQ==} 95 | engines: {node: '>=18'} 96 | cpu: [x64] 97 | os: [freebsd] 98 | 99 | '@esbuild/linux-arm64@0.25.4': 100 | resolution: {integrity: sha512-+89UsQTfXdmjIvZS6nUnOOLoXnkUTB9hR5QAeLrQdzOSWZvNSAXAtcRDHWtqAUtAmv7ZM1WPOOeSxDzzzMogiQ==} 101 | engines: {node: '>=18'} 102 | cpu: [arm64] 103 | os: [linux] 104 | 105 | '@esbuild/linux-arm@0.25.4': 106 | resolution: {integrity: sha512-kro4c0P85GMfFYqW4TWOpvmF8rFShbWGnrLqlzp4X1TNWjRY3JMYUfDCtOxPKOIY8B0WC8HN51hGP4I4hz4AaQ==} 107 | engines: {node: '>=18'} 108 | cpu: [arm] 109 | os: [linux] 110 | 111 | '@esbuild/linux-ia32@0.25.4': 112 | resolution: {integrity: sha512-yTEjoapy8UP3rv8dB0ip3AfMpRbyhSN3+hY8mo/i4QXFeDxmiYbEKp3ZRjBKcOP862Ua4b1PDfwlvbuwY7hIGQ==} 113 | engines: {node: '>=18'} 114 | cpu: [ia32] 115 | os: [linux] 116 | 117 | '@esbuild/linux-loong64@0.25.4': 118 | resolution: {integrity: sha512-NeqqYkrcGzFwi6CGRGNMOjWGGSYOpqwCjS9fvaUlX5s3zwOtn1qwg1s2iE2svBe4Q/YOG1q6875lcAoQK/F4VA==} 119 | engines: {node: '>=18'} 120 | cpu: [loong64] 121 | os: [linux] 122 | 123 | '@esbuild/linux-mips64el@0.25.4': 124 | resolution: {integrity: sha512-IcvTlF9dtLrfL/M8WgNI/qJYBENP3ekgsHbYUIzEzq5XJzzVEV/fXY9WFPfEEXmu3ck2qJP8LG/p3Q8f7Zc2Xg==} 125 | engines: {node: '>=18'} 126 | cpu: [mips64el] 127 | os: [linux] 128 | 129 | '@esbuild/linux-ppc64@0.25.4': 130 | resolution: {integrity: sha512-HOy0aLTJTVtoTeGZh4HSXaO6M95qu4k5lJcH4gxv56iaycfz1S8GO/5Jh6X4Y1YiI0h7cRyLi+HixMR+88swag==} 131 | engines: {node: '>=18'} 132 | cpu: [ppc64] 133 | os: [linux] 134 | 135 | '@esbuild/linux-riscv64@0.25.4': 136 | resolution: {integrity: sha512-i8JUDAufpz9jOzo4yIShCTcXzS07vEgWzyX3NH2G7LEFVgrLEhjwL3ajFE4fZI3I4ZgiM7JH3GQ7ReObROvSUA==} 137 | engines: {node: '>=18'} 138 | cpu: [riscv64] 139 | os: [linux] 140 | 141 | '@esbuild/linux-s390x@0.25.4': 142 | resolution: {integrity: sha512-jFnu+6UbLlzIjPQpWCNh5QtrcNfMLjgIavnwPQAfoGx4q17ocOU9MsQ2QVvFxwQoWpZT8DvTLooTvmOQXkO51g==} 143 | engines: {node: '>=18'} 144 | cpu: [s390x] 145 | os: [linux] 146 | 147 | '@esbuild/linux-x64@0.25.4': 148 | resolution: {integrity: sha512-6e0cvXwzOnVWJHq+mskP8DNSrKBr1bULBvnFLpc1KY+d+irZSgZ02TGse5FsafKS5jg2e4pbvK6TPXaF/A6+CA==} 149 | engines: {node: '>=18'} 150 | cpu: [x64] 151 | os: [linux] 152 | 153 | '@esbuild/netbsd-arm64@0.25.4': 154 | resolution: {integrity: sha512-vUnkBYxZW4hL/ie91hSqaSNjulOnYXE1VSLusnvHg2u3jewJBz3YzB9+oCw8DABeVqZGg94t9tyZFoHma8gWZQ==} 155 | engines: {node: '>=18'} 156 | cpu: [arm64] 157 | os: [netbsd] 158 | 159 | '@esbuild/netbsd-x64@0.25.4': 160 | resolution: {integrity: sha512-XAg8pIQn5CzhOB8odIcAm42QsOfa98SBeKUdo4xa8OvX8LbMZqEtgeWE9P/Wxt7MlG2QqvjGths+nq48TrUiKw==} 161 | engines: {node: '>=18'} 162 | cpu: [x64] 163 | os: [netbsd] 164 | 165 | '@esbuild/openbsd-arm64@0.25.4': 166 | resolution: {integrity: sha512-Ct2WcFEANlFDtp1nVAXSNBPDxyU+j7+tId//iHXU2f/lN5AmO4zLyhDcpR5Cz1r08mVxzt3Jpyt4PmXQ1O6+7A==} 167 | engines: {node: '>=18'} 168 | cpu: [arm64] 169 | os: [openbsd] 170 | 171 | '@esbuild/openbsd-x64@0.25.4': 172 | resolution: {integrity: sha512-xAGGhyOQ9Otm1Xu8NT1ifGLnA6M3sJxZ6ixylb+vIUVzvvd6GOALpwQrYrtlPouMqd/vSbgehz6HaVk4+7Afhw==} 173 | engines: {node: '>=18'} 174 | cpu: [x64] 175 | os: [openbsd] 176 | 177 | '@esbuild/sunos-x64@0.25.4': 178 | resolution: {integrity: sha512-Mw+tzy4pp6wZEK0+Lwr76pWLjrtjmJyUB23tHKqEDP74R3q95luY/bXqXZeYl4NYlvwOqoRKlInQialgCKy67Q==} 179 | engines: {node: '>=18'} 180 | cpu: [x64] 181 | os: [sunos] 182 | 183 | '@esbuild/win32-arm64@0.25.4': 184 | resolution: {integrity: sha512-AVUP428VQTSddguz9dO9ngb+E5aScyg7nOeJDrF1HPYu555gmza3bDGMPhmVXL8svDSoqPCsCPjb265yG/kLKQ==} 185 | engines: {node: '>=18'} 186 | cpu: [arm64] 187 | os: [win32] 188 | 189 | '@esbuild/win32-ia32@0.25.4': 190 | resolution: {integrity: sha512-i1sW+1i+oWvQzSgfRcxxG2k4I9n3O9NRqy8U+uugaT2Dy7kLO9Y7wI72haOahxceMX8hZAzgGou1FhndRldxRg==} 191 | engines: {node: '>=18'} 192 | cpu: [ia32] 193 | os: [win32] 194 | 195 | '@esbuild/win32-x64@0.25.4': 196 | resolution: {integrity: sha512-nOT2vZNw6hJ+z43oP1SPea/G/6AbN6X+bGNhNuq8NtRHy4wsMhw765IKLNmnjek7GvjWBYQ8Q5VBoYTFg9y1UQ==} 197 | engines: {node: '>=18'} 198 | cpu: [x64] 199 | os: [win32] 200 | 201 | '@eslint-community/eslint-utils@4.6.1': 202 | resolution: {integrity: sha512-KTsJMmobmbrFLe3LDh0PC2FXpcSYJt/MLjlkh/9LEnmKYLSYmT/0EW9JWANjeoemiuZrmogti0tW5Ch+qNUYDw==} 203 | engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} 204 | peerDependencies: 205 | eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 206 | 207 | '@eslint-community/regexpp@4.12.1': 208 | resolution: {integrity: sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==} 209 | engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} 210 | 211 | '@eslint/config-array@0.20.0': 212 | resolution: {integrity: sha512-fxlS1kkIjx8+vy2SjuCB94q3htSNrufYTXubwiBFeaQHbH6Ipi43gFJq2zCMt6PHhImH3Xmr0NksKDvchWlpQQ==} 213 | engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} 214 | 215 | '@eslint/config-helpers@0.2.2': 216 | resolution: {integrity: sha512-+GPzk8PlG0sPpzdU5ZvIRMPidzAnZDl/s9L+y13iodqvb8leL53bTannOrQ/Im7UkpsmFU5Ily5U60LWixnmLg==} 217 | engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} 218 | 219 | '@eslint/core@0.13.0': 220 | resolution: {integrity: sha512-yfkgDw1KR66rkT5A8ci4irzDysN7FRpq3ttJolR88OqQikAWqwA8j5VZyas+vjyBNFIJ7MfybJ9plMILI2UrCw==} 221 | engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} 222 | 223 | '@eslint/eslintrc@3.3.1': 224 | resolution: {integrity: sha512-gtF186CXhIl1p4pJNGZw8Yc6RlshoePRvE0X91oPGb3vZ8pM3qOS9W9NGPat9LziaBV7XrJWGylNQXkGcnM3IQ==} 225 | engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} 226 | 227 | '@eslint/js@9.25.1': 228 | resolution: {integrity: sha512-dEIwmjntEx8u3Uvv+kr3PDeeArL8Hw07H9kyYxCjnM9pBjfEhk6uLXSchxxzgiwtRhhzVzqmUSDFBOi1TuZ7qg==} 229 | engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} 230 | 231 | '@eslint/object-schema@2.1.6': 232 | resolution: {integrity: sha512-RBMg5FRL0I0gs51M/guSAj5/e14VQ4tpZnQNWwuDT66P14I43ItmPfIZRhO9fUVIPOAQXU47atlywZ/czoqFPA==} 233 | engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} 234 | 235 | '@eslint/plugin-kit@0.2.8': 236 | resolution: {integrity: sha512-ZAoA40rNMPwSm+AeHpCq8STiNAwzWLJuP8Xv4CHIc9wv/PSuExjMrmjfYNj682vW0OOiZ1HKxzvjQr9XZIisQA==} 237 | engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} 238 | 239 | '@humanfs/core@0.19.1': 240 | resolution: {integrity: sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==} 241 | engines: {node: '>=18.18.0'} 242 | 243 | '@humanfs/node@0.16.6': 244 | resolution: {integrity: sha512-YuI2ZHQL78Q5HbhDiBA1X4LmYdXCKCMQIfw0pw7piHJwyREFebJUvrQN4cMssyES6x+vfUbx1CIpaQUKYdQZOw==} 245 | engines: {node: '>=18.18.0'} 246 | 247 | '@humanwhocodes/module-importer@1.0.1': 248 | resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==} 249 | engines: {node: '>=12.22'} 250 | 251 | '@humanwhocodes/retry@0.3.1': 252 | resolution: {integrity: sha512-JBxkERygn7Bv/GbN5Rv8Ul6LVknS+5Bp6RgDC/O8gEBU/yeH5Ui5C/OlWrTb6qct7LjjfT6Re2NxB0ln0yYybA==} 253 | engines: {node: '>=18.18'} 254 | 255 | '@humanwhocodes/retry@0.4.2': 256 | resolution: {integrity: sha512-xeO57FpIu4p1Ri3Jq/EXq4ClRm86dVF2z/+kvFnyqVYRavTZmaFaUBbWCOuuTh0o/g7DSsk6kc2vrS4Vl5oPOQ==} 257 | engines: {node: '>=18.18'} 258 | 259 | '@nodelib/fs.scandir@2.1.5': 260 | resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} 261 | engines: {node: '>= 8'} 262 | 263 | '@nodelib/fs.stat@2.0.5': 264 | resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==} 265 | engines: {node: '>= 8'} 266 | 267 | '@nodelib/fs.walk@1.2.8': 268 | resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} 269 | engines: {node: '>= 8'} 270 | 271 | '@rollup/rollup-android-arm-eabi@4.40.2': 272 | resolution: {integrity: sha512-JkdNEq+DFxZfUwxvB58tHMHBHVgX23ew41g1OQinthJ+ryhdRk67O31S7sYw8u2lTjHUPFxwar07BBt1KHp/hg==} 273 | cpu: [arm] 274 | os: [android] 275 | 276 | '@rollup/rollup-android-arm64@4.40.2': 277 | resolution: {integrity: sha512-13unNoZ8NzUmnndhPTkWPWbX3vtHodYmy+I9kuLxN+F+l+x3LdVF7UCu8TWVMt1POHLh6oDHhnOA04n8oJZhBw==} 278 | cpu: [arm64] 279 | os: [android] 280 | 281 | '@rollup/rollup-darwin-arm64@4.40.2': 282 | resolution: {integrity: sha512-Gzf1Hn2Aoe8VZzevHostPX23U7N5+4D36WJNHK88NZHCJr7aVMG4fadqkIf72eqVPGjGc0HJHNuUaUcxiR+N/w==} 283 | cpu: [arm64] 284 | os: [darwin] 285 | 286 | '@rollup/rollup-darwin-x64@4.40.2': 287 | resolution: {integrity: sha512-47N4hxa01a4x6XnJoskMKTS8XZ0CZMd8YTbINbi+w03A2w4j1RTlnGHOz/P0+Bg1LaVL6ufZyNprSg+fW5nYQQ==} 288 | cpu: [x64] 289 | os: [darwin] 290 | 291 | '@rollup/rollup-freebsd-arm64@4.40.2': 292 | resolution: {integrity: sha512-8t6aL4MD+rXSHHZUR1z19+9OFJ2rl1wGKvckN47XFRVO+QL/dUSpKA2SLRo4vMg7ELA8pzGpC+W9OEd1Z/ZqoQ==} 293 | cpu: [arm64] 294 | os: [freebsd] 295 | 296 | '@rollup/rollup-freebsd-x64@4.40.2': 297 | resolution: {integrity: sha512-C+AyHBzfpsOEYRFjztcYUFsH4S7UsE9cDtHCtma5BK8+ydOZYgMmWg1d/4KBytQspJCld8ZIujFMAdKG1xyr4Q==} 298 | cpu: [x64] 299 | os: [freebsd] 300 | 301 | '@rollup/rollup-linux-arm-gnueabihf@4.40.2': 302 | resolution: {integrity: sha512-de6TFZYIvJwRNjmW3+gaXiZ2DaWL5D5yGmSYzkdzjBDS3W+B9JQ48oZEsmMvemqjtAFzE16DIBLqd6IQQRuG9Q==} 303 | cpu: [arm] 304 | os: [linux] 305 | 306 | '@rollup/rollup-linux-arm-musleabihf@4.40.2': 307 | resolution: {integrity: sha512-urjaEZubdIkacKc930hUDOfQPysezKla/O9qV+O89enqsqUmQm8Xj8O/vh0gHg4LYfv7Y7UsE3QjzLQzDYN1qg==} 308 | cpu: [arm] 309 | os: [linux] 310 | 311 | '@rollup/rollup-linux-arm64-gnu@4.40.2': 312 | resolution: {integrity: sha512-KlE8IC0HFOC33taNt1zR8qNlBYHj31qGT1UqWqtvR/+NuCVhfufAq9fxO8BMFC22Wu0rxOwGVWxtCMvZVLmhQg==} 313 | cpu: [arm64] 314 | os: [linux] 315 | 316 | '@rollup/rollup-linux-arm64-musl@4.40.2': 317 | resolution: {integrity: sha512-j8CgxvfM0kbnhu4XgjnCWJQyyBOeBI1Zq91Z850aUddUmPeQvuAy6OiMdPS46gNFgy8gN1xkYyLgwLYZG3rBOg==} 318 | cpu: [arm64] 319 | os: [linux] 320 | 321 | '@rollup/rollup-linux-loongarch64-gnu@4.40.2': 322 | resolution: {integrity: sha512-Ybc/1qUampKuRF4tQXc7G7QY9YRyeVSykfK36Y5Qc5dmrIxwFhrOzqaVTNoZygqZ1ZieSWTibfFhQ5qK8jpWxw==} 323 | cpu: [loong64] 324 | os: [linux] 325 | 326 | '@rollup/rollup-linux-powerpc64le-gnu@4.40.2': 327 | resolution: {integrity: sha512-3FCIrnrt03CCsZqSYAOW/k9n625pjpuMzVfeI+ZBUSDT3MVIFDSPfSUgIl9FqUftxcUXInvFah79hE1c9abD+Q==} 328 | cpu: [ppc64] 329 | os: [linux] 330 | 331 | '@rollup/rollup-linux-riscv64-gnu@4.40.2': 332 | resolution: {integrity: sha512-QNU7BFHEvHMp2ESSY3SozIkBPaPBDTsfVNGx3Xhv+TdvWXFGOSH2NJvhD1zKAT6AyuuErJgbdvaJhYVhVqrWTg==} 333 | cpu: [riscv64] 334 | os: [linux] 335 | 336 | '@rollup/rollup-linux-riscv64-musl@4.40.2': 337 | resolution: {integrity: sha512-5W6vNYkhgfh7URiXTO1E9a0cy4fSgfE4+Hl5agb/U1sa0kjOLMLC1wObxwKxecE17j0URxuTrYZZME4/VH57Hg==} 338 | cpu: [riscv64] 339 | os: [linux] 340 | 341 | '@rollup/rollup-linux-s390x-gnu@4.40.2': 342 | resolution: {integrity: sha512-B7LKIz+0+p348JoAL4X/YxGx9zOx3sR+o6Hj15Y3aaApNfAshK8+mWZEf759DXfRLeL2vg5LYJBB7DdcleYCoQ==} 343 | cpu: [s390x] 344 | os: [linux] 345 | 346 | '@rollup/rollup-linux-x64-gnu@4.40.2': 347 | resolution: {integrity: sha512-lG7Xa+BmBNwpjmVUbmyKxdQJ3Q6whHjMjzQplOs5Z+Gj7mxPtWakGHqzMqNER68G67kmCX9qX57aRsW5V0VOng==} 348 | cpu: [x64] 349 | os: [linux] 350 | 351 | '@rollup/rollup-linux-x64-musl@4.40.2': 352 | resolution: {integrity: sha512-tD46wKHd+KJvsmije4bUskNuvWKFcTOIM9tZ/RrmIvcXnbi0YK/cKS9FzFtAm7Oxi2EhV5N2OpfFB348vSQRXA==} 353 | cpu: [x64] 354 | os: [linux] 355 | 356 | '@rollup/rollup-win32-arm64-msvc@4.40.2': 357 | resolution: {integrity: sha512-Bjv/HG8RRWLNkXwQQemdsWw4Mg+IJ29LK+bJPW2SCzPKOUaMmPEppQlu/Fqk1d7+DX3V7JbFdbkh/NMmurT6Pg==} 358 | cpu: [arm64] 359 | os: [win32] 360 | 361 | '@rollup/rollup-win32-ia32-msvc@4.40.2': 362 | resolution: {integrity: sha512-dt1llVSGEsGKvzeIO76HToiYPNPYPkmjhMHhP00T9S4rDern8P2ZWvWAQUEJ+R1UdMWJ/42i/QqJ2WV765GZcA==} 363 | cpu: [ia32] 364 | os: [win32] 365 | 366 | '@rollup/rollup-win32-x64-msvc@4.40.2': 367 | resolution: {integrity: sha512-bwspbWB04XJpeElvsp+DCylKfF4trJDa2Y9Go8O6A7YLX2LIKGcNK/CYImJN6ZP4DcuOHB4Utl3iCbnR62DudA==} 368 | cpu: [x64] 369 | os: [win32] 370 | 371 | '@tauri-apps/api@2.5.0': 372 | resolution: {integrity: sha512-Ldux4ip+HGAcPUmuLT8EIkk6yafl5vK0P0c0byzAKzxJh7vxelVtdPONjfgTm96PbN24yjZNESY8CKo8qniluA==} 373 | 374 | '@tauri-apps/cli-darwin-arm64@2.5.0': 375 | resolution: {integrity: sha512-VuVAeTFq86dfpoBDNYAdtQVLbP0+2EKCHIIhkaxjeoPARR0sLpFHz2zs0PcFU76e+KAaxtEtAJAXGNUc8E1PzQ==} 376 | engines: {node: '>= 10'} 377 | cpu: [arm64] 378 | os: [darwin] 379 | 380 | '@tauri-apps/cli-darwin-x64@2.5.0': 381 | resolution: {integrity: sha512-hUF01sC06cZVa8+I0/VtsHOk9BbO75rd+YdtHJ48xTdcYaQ5QIwL4yZz9OR1AKBTaUYhBam8UX9Pvd5V2/4Dpw==} 382 | engines: {node: '>= 10'} 383 | cpu: [x64] 384 | os: [darwin] 385 | 386 | '@tauri-apps/cli-linux-arm-gnueabihf@2.5.0': 387 | resolution: {integrity: sha512-LQKqttsK252LlqYyX8R02MinUsfFcy3+NZiJwHFgi5Y3+ZUIAED9cSxJkyNtuY5KMnR4RlpgWyLv4P6akN1xhg==} 388 | engines: {node: '>= 10'} 389 | cpu: [arm] 390 | os: [linux] 391 | 392 | '@tauri-apps/cli-linux-arm64-gnu@2.5.0': 393 | resolution: {integrity: sha512-mTQufsPcpdHg5RW0zypazMo4L55EfeE5snTzrPqbLX4yCK2qalN7+rnP8O8GT06xhp6ElSP/Ku1M2MR297SByQ==} 394 | engines: {node: '>= 10'} 395 | cpu: [arm64] 396 | os: [linux] 397 | 398 | '@tauri-apps/cli-linux-arm64-musl@2.5.0': 399 | resolution: {integrity: sha512-rQO1HhRUQqyEaal5dUVOQruTRda/TD36s9kv1hTxZiFuSq3558lsTjAcUEnMAtBcBkps20sbyTJNMT0AwYIk8Q==} 400 | engines: {node: '>= 10'} 401 | cpu: [arm64] 402 | os: [linux] 403 | 404 | '@tauri-apps/cli-linux-riscv64-gnu@2.5.0': 405 | resolution: {integrity: sha512-7oS18FN46yDxyw1zX/AxhLAd7T3GrLj3Ai6s8hZKd9qFVzrAn36ESL7d3G05s8wEtsJf26qjXnVF4qleS3dYsA==} 406 | engines: {node: '>= 10'} 407 | cpu: [riscv64] 408 | os: [linux] 409 | 410 | '@tauri-apps/cli-linux-x64-gnu@2.5.0': 411 | resolution: {integrity: sha512-SG5sFNL7VMmDBdIg3nO3EzNRT306HsiEQ0N90ILe3ZABYAVoPDO/ttpCO37ApLInTzrq/DLN+gOlC/mgZvLw1w==} 412 | engines: {node: '>= 10'} 413 | cpu: [x64] 414 | os: [linux] 415 | 416 | '@tauri-apps/cli-linux-x64-musl@2.5.0': 417 | resolution: {integrity: sha512-QXDM8zp/6v05PNWju5ELsVwF0VH1n6b5pk2E6W/jFbbiwz80Vs1lACl9pv5kEHkrxBj+aWU/03JzGuIj2g3SkQ==} 418 | engines: {node: '>= 10'} 419 | cpu: [x64] 420 | os: [linux] 421 | 422 | '@tauri-apps/cli-win32-arm64-msvc@2.5.0': 423 | resolution: {integrity: sha512-pFSHFK6b+o9y4Un8w0gGLwVyFTZaC3P0kQ7umRt/BLDkzD5RnQ4vBM7CF8BCU5nkwmEBUCZd7Wt3TWZxe41o6Q==} 424 | engines: {node: '>= 10'} 425 | cpu: [arm64] 426 | os: [win32] 427 | 428 | '@tauri-apps/cli-win32-ia32-msvc@2.5.0': 429 | resolution: {integrity: sha512-EArv1IaRlogdLAQyGlKmEqZqm5RfHCUMhJoedWu7GtdbOMUfSAz6FMX2boE1PtEmNO4An+g188flLeVErrxEKg==} 430 | engines: {node: '>= 10'} 431 | cpu: [ia32] 432 | os: [win32] 433 | 434 | '@tauri-apps/cli-win32-x64-msvc@2.5.0': 435 | resolution: {integrity: sha512-lj43EFYbnAta8pd9JnUq87o+xRUR0odz+4rixBtTUwUgdRdwQ2V9CzFtsMu6FQKpFQ6mujRK6P1IEwhL6ADRsQ==} 436 | engines: {node: '>= 10'} 437 | cpu: [x64] 438 | os: [win32] 439 | 440 | '@tauri-apps/cli@2.5.0': 441 | resolution: {integrity: sha512-rAtHqG0Gh/IWLjN2zTf3nZqYqbo81oMbqop56rGTjrlWk9pTTAjkqOjSL9XQLIMZ3RbeVjveCqqCA0s8RnLdMg==} 442 | engines: {node: '>= 10'} 443 | hasBin: true 444 | 445 | '@tauri-apps/plugin-dialog@2.2.1': 446 | resolution: {integrity: sha512-wZmCouo4PgTosh/UoejPw9DPs6RllS5Pp3fuOV2JobCu36mR5AXU2MzU9NZiVaFi/5Zfc8RN0IhcZHnksJ1o8A==} 447 | 448 | '@tauri-apps/plugin-shell@2.2.1': 449 | resolution: {integrity: sha512-G1GFYyWe/KlCsymuLiNImUgC8zGY0tI0Y3p8JgBCWduR5IEXlIJS+JuG1qtveitwYXlfJrsExt3enhv5l2/yhA==} 450 | 451 | '@types/eslint@9.6.1': 452 | resolution: {integrity: sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag==} 453 | 454 | '@types/eslint__js@8.42.3': 455 | resolution: {integrity: sha512-alfG737uhmPdnvkrLdZLcEKJ/B8s9Y4hrZ+YAdzUeoArBlSUERA2E87ROfOaS4jd/C45fzOoZzidLc1IPwLqOw==} 456 | 457 | '@types/estree@1.0.7': 458 | resolution: {integrity: sha512-w28IoSUCJpidD/TGviZwwMJckNESJZXFu7NBZ5YJ4mEUnNraUn9Pm8HSZm/jDF1pDWYKspWE7oVphigUPRakIQ==} 459 | 460 | '@types/jquery@3.5.32': 461 | resolution: {integrity: sha512-b9Xbf4CkMqS02YH8zACqN1xzdxc3cO735Qe5AbSUFmyOiaWAbcpqh9Wna+Uk0vgACvoQHpWDg2rGdHkYPLmCiQ==} 462 | 463 | '@types/json-schema@7.0.15': 464 | resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} 465 | 466 | '@types/sizzle@2.3.8': 467 | resolution: {integrity: sha512-0vWLNK2D5MT9dg0iOo8GlKguPAU02QjmZitPEsXRuJXU/OGIOt9vT9Fc26wtYuavLxtO45v9PGleoL9Z0k1LHg==} 468 | 469 | '@typescript-eslint/eslint-plugin@8.31.1': 470 | resolution: {integrity: sha512-oUlH4h1ABavI4F0Xnl8/fOtML/eu8nI2A1nYd+f+55XI0BLu+RIqKoCiZKNo6DtqZBEQm5aNKA20G3Z5w3R6GQ==} 471 | engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} 472 | peerDependencies: 473 | '@typescript-eslint/parser': ^8.0.0 || ^8.0.0-alpha.0 474 | eslint: ^8.57.0 || ^9.0.0 475 | typescript: '>=4.8.4 <5.9.0' 476 | 477 | '@typescript-eslint/parser@8.31.1': 478 | resolution: {integrity: sha512-oU/OtYVydhXnumd0BobL9rkJg7wFJ9bFFPmSmB/bf/XWN85hlViji59ko6bSKBXyseT9V8l+CN1nwmlbiN0G7Q==} 479 | engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} 480 | peerDependencies: 481 | eslint: ^8.57.0 || ^9.0.0 482 | typescript: '>=4.8.4 <5.9.0' 483 | 484 | '@typescript-eslint/scope-manager@8.31.1': 485 | resolution: {integrity: sha512-BMNLOElPxrtNQMIsFHE+3P0Yf1z0dJqV9zLdDxN/xLlWMlXK/ApEsVEKzpizg9oal8bAT5Sc7+ocal7AC1HCVw==} 486 | engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} 487 | 488 | '@typescript-eslint/type-utils@8.31.1': 489 | resolution: {integrity: sha512-fNaT/m9n0+dpSp8G/iOQ05GoHYXbxw81x+yvr7TArTuZuCA6VVKbqWYVZrV5dVagpDTtj/O8k5HBEE/p/HM5LA==} 490 | engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} 491 | peerDependencies: 492 | eslint: ^8.57.0 || ^9.0.0 493 | typescript: '>=4.8.4 <5.9.0' 494 | 495 | '@typescript-eslint/types@8.31.1': 496 | resolution: {integrity: sha512-SfepaEFUDQYRoA70DD9GtytljBePSj17qPxFHA/h3eg6lPTqGJ5mWOtbXCk1YrVU1cTJRd14nhaXWFu0l2troQ==} 497 | engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} 498 | 499 | '@typescript-eslint/typescript-estree@8.31.1': 500 | resolution: {integrity: sha512-kaA0ueLe2v7KunYOyWYtlf/QhhZb7+qh4Yw6Ni5kgukMIG+iP773tjgBiLWIXYumWCwEq3nLW+TUywEp8uEeag==} 501 | engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} 502 | peerDependencies: 503 | typescript: '>=4.8.4 <5.9.0' 504 | 505 | '@typescript-eslint/utils@8.31.1': 506 | resolution: {integrity: sha512-2DSI4SNfF5T4oRveQ4nUrSjUqjMND0nLq9rEkz0gfGr3tg0S5KB6DhwR+WZPCjzkZl3cH+4x2ce3EsL50FubjQ==} 507 | engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} 508 | peerDependencies: 509 | eslint: ^8.57.0 || ^9.0.0 510 | typescript: '>=4.8.4 <5.9.0' 511 | 512 | '@typescript-eslint/visitor-keys@8.31.1': 513 | resolution: {integrity: sha512-I+/rgqOVBn6f0o7NDTmAPWWC6NuqhV174lfYvAm9fUaWeiefLdux9/YI3/nLugEn9L8fcSi0XmpKi/r5u0nmpw==} 514 | engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} 515 | 516 | acorn-jsx@5.3.2: 517 | resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} 518 | peerDependencies: 519 | acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 520 | 521 | acorn@8.14.1: 522 | resolution: {integrity: sha512-OvQ/2pUDKmgfCg++xsTX1wGxfTaszcHVcTctW4UJB4hibJx2HXxxO5UmVgyjMa+ZDsiaf5wWLXYpRWMmBI0QHg==} 523 | engines: {node: '>=0.4.0'} 524 | hasBin: true 525 | 526 | ajv@6.12.6: 527 | resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==} 528 | 529 | ansi-styles@4.3.0: 530 | resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==} 531 | engines: {node: '>=8'} 532 | 533 | argparse@2.0.1: 534 | resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} 535 | 536 | balanced-match@1.0.2: 537 | resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} 538 | 539 | brace-expansion@1.1.11: 540 | resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==} 541 | 542 | brace-expansion@2.0.1: 543 | resolution: {integrity: sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==} 544 | 545 | braces@3.0.3: 546 | resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==} 547 | engines: {node: '>=8'} 548 | 549 | callsites@3.1.0: 550 | resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} 551 | engines: {node: '>=6'} 552 | 553 | chalk@4.1.2: 554 | resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==} 555 | engines: {node: '>=10'} 556 | 557 | color-convert@2.0.1: 558 | resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==} 559 | engines: {node: '>=7.0.0'} 560 | 561 | color-name@1.1.4: 562 | resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} 563 | 564 | concat-map@0.0.1: 565 | resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} 566 | 567 | cross-spawn@7.0.6: 568 | resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==} 569 | engines: {node: '>= 8'} 570 | 571 | debug@4.4.0: 572 | resolution: {integrity: sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==} 573 | engines: {node: '>=6.0'} 574 | peerDependencies: 575 | supports-color: '*' 576 | peerDependenciesMeta: 577 | supports-color: 578 | optional: true 579 | 580 | deep-is@0.1.4: 581 | resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} 582 | 583 | esbuild@0.25.4: 584 | resolution: {integrity: sha512-8pgjLUcUjcgDg+2Q4NYXnPbo/vncAY4UmyaCm0jZevERqCHZIaWwdJHkf8XQtu4AxSKCdvrUbT0XUr1IdZzI8Q==} 585 | engines: {node: '>=18'} 586 | hasBin: true 587 | 588 | escape-string-regexp@4.0.0: 589 | resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==} 590 | engines: {node: '>=10'} 591 | 592 | eslint-scope@8.3.0: 593 | resolution: {integrity: sha512-pUNxi75F8MJ/GdeKtVLSbYg4ZI34J6C0C7sbL4YOp2exGwen7ZsuBqKzUhXd0qMQ362yET3z+uPwKeg/0C2XCQ==} 594 | engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} 595 | 596 | eslint-visitor-keys@3.4.3: 597 | resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==} 598 | engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} 599 | 600 | eslint-visitor-keys@4.2.0: 601 | resolution: {integrity: sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==} 602 | engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} 603 | 604 | eslint@9.25.1: 605 | resolution: {integrity: sha512-E6Mtz9oGQWDCpV12319d59n4tx9zOTXSTmc8BLVxBx+G/0RdM5MvEEJLU9c0+aleoePYYgVTOsRblx433qmhWQ==} 606 | engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} 607 | hasBin: true 608 | peerDependencies: 609 | jiti: '*' 610 | peerDependenciesMeta: 611 | jiti: 612 | optional: true 613 | 614 | espree@10.3.0: 615 | resolution: {integrity: sha512-0QYC8b24HWY8zjRnDTL6RiHfDbAWn63qb4LMj1Z4b076A4une81+z03Kg7l7mn/48PUTqoLptSXez8oknU8Clg==} 616 | engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} 617 | 618 | esquery@1.6.0: 619 | resolution: {integrity: sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==} 620 | engines: {node: '>=0.10'} 621 | 622 | esrecurse@4.3.0: 623 | resolution: {integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==} 624 | engines: {node: '>=4.0'} 625 | 626 | estraverse@5.3.0: 627 | resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==} 628 | engines: {node: '>=4.0'} 629 | 630 | esutils@2.0.3: 631 | resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} 632 | engines: {node: '>=0.10.0'} 633 | 634 | fast-deep-equal@3.1.3: 635 | resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} 636 | 637 | fast-glob@3.3.3: 638 | resolution: {integrity: sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==} 639 | engines: {node: '>=8.6.0'} 640 | 641 | fast-json-stable-stringify@2.1.0: 642 | resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==} 643 | 644 | fast-levenshtein@2.0.6: 645 | resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==} 646 | 647 | fastq@1.19.1: 648 | resolution: {integrity: sha512-GwLTyxkCXjXbxqIhTsMI2Nui8huMPtnxg7krajPJAjnEG/iiOS7i+zCtWGZR9G0NBKbXKh6X9m9UIsYX/N6vvQ==} 649 | 650 | fdir@6.4.4: 651 | resolution: {integrity: sha512-1NZP+GK4GfuAv3PqKvxQRDMjdSRZjnkq7KfhlNrCNNlZ0ygQFpebfrnfnq/W7fpUnAv9aGWmY1zKx7FYL3gwhg==} 652 | peerDependencies: 653 | picomatch: ^3 || ^4 654 | peerDependenciesMeta: 655 | picomatch: 656 | optional: true 657 | 658 | file-entry-cache@8.0.0: 659 | resolution: {integrity: sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==} 660 | engines: {node: '>=16.0.0'} 661 | 662 | fill-range@7.1.1: 663 | resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==} 664 | engines: {node: '>=8'} 665 | 666 | find-up@5.0.0: 667 | resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==} 668 | engines: {node: '>=10'} 669 | 670 | flat-cache@4.0.1: 671 | resolution: {integrity: sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==} 672 | engines: {node: '>=16'} 673 | 674 | flatted@3.3.3: 675 | resolution: {integrity: sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==} 676 | 677 | fsevents@2.3.3: 678 | resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==} 679 | engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} 680 | os: [darwin] 681 | 682 | glob-parent@5.1.2: 683 | resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} 684 | engines: {node: '>= 6'} 685 | 686 | glob-parent@6.0.2: 687 | resolution: {integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==} 688 | engines: {node: '>=10.13.0'} 689 | 690 | globals@14.0.0: 691 | resolution: {integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==} 692 | engines: {node: '>=18'} 693 | 694 | graphemer@1.4.0: 695 | resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==} 696 | 697 | has-flag@4.0.0: 698 | resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==} 699 | engines: {node: '>=8'} 700 | 701 | ignore@5.3.2: 702 | resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==} 703 | engines: {node: '>= 4'} 704 | 705 | import-fresh@3.3.1: 706 | resolution: {integrity: sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==} 707 | engines: {node: '>=6'} 708 | 709 | imurmurhash@0.1.4: 710 | resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==} 711 | engines: {node: '>=0.8.19'} 712 | 713 | is-extglob@2.1.1: 714 | resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==} 715 | engines: {node: '>=0.10.0'} 716 | 717 | is-glob@4.0.3: 718 | resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==} 719 | engines: {node: '>=0.10.0'} 720 | 721 | is-number@7.0.0: 722 | resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} 723 | engines: {node: '>=0.12.0'} 724 | 725 | isexe@2.0.0: 726 | resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} 727 | 728 | jquery@3.7.1: 729 | resolution: {integrity: sha512-m4avr8yL8kmFN8psrbFFFmB/If14iN5o9nw/NgnnM+kybDJpRsAynV2BsfpTYrTRysYUdADVD7CkUUizgkpLfg==} 730 | 731 | js-yaml@4.1.0: 732 | resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==} 733 | hasBin: true 734 | 735 | json-buffer@3.0.1: 736 | resolution: {integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==} 737 | 738 | json-schema-traverse@0.4.1: 739 | resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==} 740 | 741 | json-stable-stringify-without-jsonify@1.0.1: 742 | resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==} 743 | 744 | keyv@4.5.4: 745 | resolution: {integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==} 746 | 747 | levn@0.4.1: 748 | resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==} 749 | engines: {node: '>= 0.8.0'} 750 | 751 | locate-path@6.0.0: 752 | resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==} 753 | engines: {node: '>=10'} 754 | 755 | lodash.merge@4.6.2: 756 | resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} 757 | 758 | merge2@1.4.1: 759 | resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} 760 | engines: {node: '>= 8'} 761 | 762 | micromatch@4.0.8: 763 | resolution: {integrity: sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==} 764 | engines: {node: '>=8.6'} 765 | 766 | minimatch@3.1.2: 767 | resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} 768 | 769 | minimatch@9.0.5: 770 | resolution: {integrity: sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==} 771 | engines: {node: '>=16 || 14 >=14.17'} 772 | 773 | ms@2.1.3: 774 | resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} 775 | 776 | nanoid@3.3.11: 777 | resolution: {integrity: sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==} 778 | engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} 779 | hasBin: true 780 | 781 | natural-compare@1.4.0: 782 | resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} 783 | 784 | optionator@0.9.4: 785 | resolution: {integrity: sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==} 786 | engines: {node: '>= 0.8.0'} 787 | 788 | p-limit@3.1.0: 789 | resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==} 790 | engines: {node: '>=10'} 791 | 792 | p-locate@5.0.0: 793 | resolution: {integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==} 794 | engines: {node: '>=10'} 795 | 796 | parent-module@1.0.1: 797 | resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} 798 | engines: {node: '>=6'} 799 | 800 | path-exists@4.0.0: 801 | resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} 802 | engines: {node: '>=8'} 803 | 804 | path-key@3.1.1: 805 | resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==} 806 | engines: {node: '>=8'} 807 | 808 | picocolors@1.1.1: 809 | resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==} 810 | 811 | picomatch@2.3.1: 812 | resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} 813 | engines: {node: '>=8.6'} 814 | 815 | picomatch@4.0.2: 816 | resolution: {integrity: sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==} 817 | engines: {node: '>=12'} 818 | 819 | postcss@8.5.3: 820 | resolution: {integrity: sha512-dle9A3yYxlBSrt8Fu+IpjGT8SY8hN0mlaA6GY8t0P5PjIOZemULz/E2Bnm/2dcUOena75OTNkHI76uZBNUUq3A==} 821 | engines: {node: ^10 || ^12 || >=14} 822 | 823 | prelude-ls@1.2.1: 824 | resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==} 825 | engines: {node: '>= 0.8.0'} 826 | 827 | punycode@2.3.1: 828 | resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==} 829 | engines: {node: '>=6'} 830 | 831 | queue-microtask@1.2.3: 832 | resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} 833 | 834 | resolve-from@4.0.0: 835 | resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==} 836 | engines: {node: '>=4'} 837 | 838 | reusify@1.1.0: 839 | resolution: {integrity: sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==} 840 | engines: {iojs: '>=1.0.0', node: '>=0.10.0'} 841 | 842 | rollup@4.40.2: 843 | resolution: {integrity: sha512-tfUOg6DTP4rhQ3VjOO6B4wyrJnGOX85requAXvqYTHsOgb2TFJdZ3aWpT8W2kPoypSGP7dZUyzxJ9ee4buM5Fg==} 844 | engines: {node: '>=18.0.0', npm: '>=8.0.0'} 845 | hasBin: true 846 | 847 | run-parallel@1.2.0: 848 | resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} 849 | 850 | semver@7.7.1: 851 | resolution: {integrity: sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==} 852 | engines: {node: '>=10'} 853 | hasBin: true 854 | 855 | shebang-command@2.0.0: 856 | resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==} 857 | engines: {node: '>=8'} 858 | 859 | shebang-regex@3.0.0: 860 | resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} 861 | engines: {node: '>=8'} 862 | 863 | source-map-js@1.2.1: 864 | resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==} 865 | engines: {node: '>=0.10.0'} 866 | 867 | strip-json-comments@3.1.1: 868 | resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} 869 | engines: {node: '>=8'} 870 | 871 | supports-color@7.2.0: 872 | resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==} 873 | engines: {node: '>=8'} 874 | 875 | tinyglobby@0.2.13: 876 | resolution: {integrity: sha512-mEwzpUgrLySlveBwEVDMKk5B57bhLPYovRfPAXD5gA/98Opn0rCDj3GtLwFvCvH5RK9uPCExUROW5NjDwvqkxw==} 877 | engines: {node: '>=12.0.0'} 878 | 879 | to-regex-range@5.0.1: 880 | resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} 881 | engines: {node: '>=8.0'} 882 | 883 | ts-api-utils@2.1.0: 884 | resolution: {integrity: sha512-CUgTZL1irw8u29bzrOD/nH85jqyc74D6SshFgujOIA7osm2Rz7dYH77agkx7H4FBNxDq7Cjf+IjaX/8zwFW+ZQ==} 885 | engines: {node: '>=18.12'} 886 | peerDependencies: 887 | typescript: '>=4.8.4' 888 | 889 | type-check@0.4.0: 890 | resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==} 891 | engines: {node: '>= 0.8.0'} 892 | 893 | typescript-eslint@8.31.1: 894 | resolution: {integrity: sha512-j6DsEotD/fH39qKzXTQRwYYWlt7D+0HmfpOK+DVhwJOFLcdmn92hq3mBb7HlKJHbjjI/gTOqEcc9d6JfpFf/VA==} 895 | engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} 896 | peerDependencies: 897 | eslint: ^8.57.0 || ^9.0.0 898 | typescript: '>=4.8.4 <5.9.0' 899 | 900 | typescript@5.8.3: 901 | resolution: {integrity: sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==} 902 | engines: {node: '>=14.17'} 903 | hasBin: true 904 | 905 | uri-js@4.4.1: 906 | resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} 907 | 908 | vite@6.3.5: 909 | resolution: {integrity: sha512-cZn6NDFE7wdTpINgs++ZJ4N49W2vRp8LCKrn3Ob1kYNtOo21vfDoaV5GzBfLU4MovSAB8uNRm4jgzVQZ+mBzPQ==} 910 | engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} 911 | hasBin: true 912 | peerDependencies: 913 | '@types/node': ^18.0.0 || ^20.0.0 || >=22.0.0 914 | jiti: '>=1.21.0' 915 | less: '*' 916 | lightningcss: ^1.21.0 917 | sass: '*' 918 | sass-embedded: '*' 919 | stylus: '*' 920 | sugarss: '*' 921 | terser: ^5.16.0 922 | tsx: ^4.8.1 923 | yaml: ^2.4.2 924 | peerDependenciesMeta: 925 | '@types/node': 926 | optional: true 927 | jiti: 928 | optional: true 929 | less: 930 | optional: true 931 | lightningcss: 932 | optional: true 933 | sass: 934 | optional: true 935 | sass-embedded: 936 | optional: true 937 | stylus: 938 | optional: true 939 | sugarss: 940 | optional: true 941 | terser: 942 | optional: true 943 | tsx: 944 | optional: true 945 | yaml: 946 | optional: true 947 | 948 | which@2.0.2: 949 | resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==} 950 | engines: {node: '>= 8'} 951 | hasBin: true 952 | 953 | word-wrap@1.2.5: 954 | resolution: {integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==} 955 | engines: {node: '>=0.10.0'} 956 | 957 | yocto-queue@0.1.0: 958 | resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} 959 | engines: {node: '>=10'} 960 | 961 | snapshots: 962 | 963 | '@esbuild/aix-ppc64@0.25.4': 964 | optional: true 965 | 966 | '@esbuild/android-arm64@0.25.4': 967 | optional: true 968 | 969 | '@esbuild/android-arm@0.25.4': 970 | optional: true 971 | 972 | '@esbuild/android-x64@0.25.4': 973 | optional: true 974 | 975 | '@esbuild/darwin-arm64@0.25.4': 976 | optional: true 977 | 978 | '@esbuild/darwin-x64@0.25.4': 979 | optional: true 980 | 981 | '@esbuild/freebsd-arm64@0.25.4': 982 | optional: true 983 | 984 | '@esbuild/freebsd-x64@0.25.4': 985 | optional: true 986 | 987 | '@esbuild/linux-arm64@0.25.4': 988 | optional: true 989 | 990 | '@esbuild/linux-arm@0.25.4': 991 | optional: true 992 | 993 | '@esbuild/linux-ia32@0.25.4': 994 | optional: true 995 | 996 | '@esbuild/linux-loong64@0.25.4': 997 | optional: true 998 | 999 | '@esbuild/linux-mips64el@0.25.4': 1000 | optional: true 1001 | 1002 | '@esbuild/linux-ppc64@0.25.4': 1003 | optional: true 1004 | 1005 | '@esbuild/linux-riscv64@0.25.4': 1006 | optional: true 1007 | 1008 | '@esbuild/linux-s390x@0.25.4': 1009 | optional: true 1010 | 1011 | '@esbuild/linux-x64@0.25.4': 1012 | optional: true 1013 | 1014 | '@esbuild/netbsd-arm64@0.25.4': 1015 | optional: true 1016 | 1017 | '@esbuild/netbsd-x64@0.25.4': 1018 | optional: true 1019 | 1020 | '@esbuild/openbsd-arm64@0.25.4': 1021 | optional: true 1022 | 1023 | '@esbuild/openbsd-x64@0.25.4': 1024 | optional: true 1025 | 1026 | '@esbuild/sunos-x64@0.25.4': 1027 | optional: true 1028 | 1029 | '@esbuild/win32-arm64@0.25.4': 1030 | optional: true 1031 | 1032 | '@esbuild/win32-ia32@0.25.4': 1033 | optional: true 1034 | 1035 | '@esbuild/win32-x64@0.25.4': 1036 | optional: true 1037 | 1038 | '@eslint-community/eslint-utils@4.6.1(eslint@9.25.1)': 1039 | dependencies: 1040 | eslint: 9.25.1 1041 | eslint-visitor-keys: 3.4.3 1042 | 1043 | '@eslint-community/regexpp@4.12.1': {} 1044 | 1045 | '@eslint/config-array@0.20.0': 1046 | dependencies: 1047 | '@eslint/object-schema': 2.1.6 1048 | debug: 4.4.0 1049 | minimatch: 3.1.2 1050 | transitivePeerDependencies: 1051 | - supports-color 1052 | 1053 | '@eslint/config-helpers@0.2.2': {} 1054 | 1055 | '@eslint/core@0.13.0': 1056 | dependencies: 1057 | '@types/json-schema': 7.0.15 1058 | 1059 | '@eslint/eslintrc@3.3.1': 1060 | dependencies: 1061 | ajv: 6.12.6 1062 | debug: 4.4.0 1063 | espree: 10.3.0 1064 | globals: 14.0.0 1065 | ignore: 5.3.2 1066 | import-fresh: 3.3.1 1067 | js-yaml: 4.1.0 1068 | minimatch: 3.1.2 1069 | strip-json-comments: 3.1.1 1070 | transitivePeerDependencies: 1071 | - supports-color 1072 | 1073 | '@eslint/js@9.25.1': {} 1074 | 1075 | '@eslint/object-schema@2.1.6': {} 1076 | 1077 | '@eslint/plugin-kit@0.2.8': 1078 | dependencies: 1079 | '@eslint/core': 0.13.0 1080 | levn: 0.4.1 1081 | 1082 | '@humanfs/core@0.19.1': {} 1083 | 1084 | '@humanfs/node@0.16.6': 1085 | dependencies: 1086 | '@humanfs/core': 0.19.1 1087 | '@humanwhocodes/retry': 0.3.1 1088 | 1089 | '@humanwhocodes/module-importer@1.0.1': {} 1090 | 1091 | '@humanwhocodes/retry@0.3.1': {} 1092 | 1093 | '@humanwhocodes/retry@0.4.2': {} 1094 | 1095 | '@nodelib/fs.scandir@2.1.5': 1096 | dependencies: 1097 | '@nodelib/fs.stat': 2.0.5 1098 | run-parallel: 1.2.0 1099 | 1100 | '@nodelib/fs.stat@2.0.5': {} 1101 | 1102 | '@nodelib/fs.walk@1.2.8': 1103 | dependencies: 1104 | '@nodelib/fs.scandir': 2.1.5 1105 | fastq: 1.19.1 1106 | 1107 | '@rollup/rollup-android-arm-eabi@4.40.2': 1108 | optional: true 1109 | 1110 | '@rollup/rollup-android-arm64@4.40.2': 1111 | optional: true 1112 | 1113 | '@rollup/rollup-darwin-arm64@4.40.2': 1114 | optional: true 1115 | 1116 | '@rollup/rollup-darwin-x64@4.40.2': 1117 | optional: true 1118 | 1119 | '@rollup/rollup-freebsd-arm64@4.40.2': 1120 | optional: true 1121 | 1122 | '@rollup/rollup-freebsd-x64@4.40.2': 1123 | optional: true 1124 | 1125 | '@rollup/rollup-linux-arm-gnueabihf@4.40.2': 1126 | optional: true 1127 | 1128 | '@rollup/rollup-linux-arm-musleabihf@4.40.2': 1129 | optional: true 1130 | 1131 | '@rollup/rollup-linux-arm64-gnu@4.40.2': 1132 | optional: true 1133 | 1134 | '@rollup/rollup-linux-arm64-musl@4.40.2': 1135 | optional: true 1136 | 1137 | '@rollup/rollup-linux-loongarch64-gnu@4.40.2': 1138 | optional: true 1139 | 1140 | '@rollup/rollup-linux-powerpc64le-gnu@4.40.2': 1141 | optional: true 1142 | 1143 | '@rollup/rollup-linux-riscv64-gnu@4.40.2': 1144 | optional: true 1145 | 1146 | '@rollup/rollup-linux-riscv64-musl@4.40.2': 1147 | optional: true 1148 | 1149 | '@rollup/rollup-linux-s390x-gnu@4.40.2': 1150 | optional: true 1151 | 1152 | '@rollup/rollup-linux-x64-gnu@4.40.2': 1153 | optional: true 1154 | 1155 | '@rollup/rollup-linux-x64-musl@4.40.2': 1156 | optional: true 1157 | 1158 | '@rollup/rollup-win32-arm64-msvc@4.40.2': 1159 | optional: true 1160 | 1161 | '@rollup/rollup-win32-ia32-msvc@4.40.2': 1162 | optional: true 1163 | 1164 | '@rollup/rollup-win32-x64-msvc@4.40.2': 1165 | optional: true 1166 | 1167 | '@tauri-apps/api@2.5.0': {} 1168 | 1169 | '@tauri-apps/cli-darwin-arm64@2.5.0': 1170 | optional: true 1171 | 1172 | '@tauri-apps/cli-darwin-x64@2.5.0': 1173 | optional: true 1174 | 1175 | '@tauri-apps/cli-linux-arm-gnueabihf@2.5.0': 1176 | optional: true 1177 | 1178 | '@tauri-apps/cli-linux-arm64-gnu@2.5.0': 1179 | optional: true 1180 | 1181 | '@tauri-apps/cli-linux-arm64-musl@2.5.0': 1182 | optional: true 1183 | 1184 | '@tauri-apps/cli-linux-riscv64-gnu@2.5.0': 1185 | optional: true 1186 | 1187 | '@tauri-apps/cli-linux-x64-gnu@2.5.0': 1188 | optional: true 1189 | 1190 | '@tauri-apps/cli-linux-x64-musl@2.5.0': 1191 | optional: true 1192 | 1193 | '@tauri-apps/cli-win32-arm64-msvc@2.5.0': 1194 | optional: true 1195 | 1196 | '@tauri-apps/cli-win32-ia32-msvc@2.5.0': 1197 | optional: true 1198 | 1199 | '@tauri-apps/cli-win32-x64-msvc@2.5.0': 1200 | optional: true 1201 | 1202 | '@tauri-apps/cli@2.5.0': 1203 | optionalDependencies: 1204 | '@tauri-apps/cli-darwin-arm64': 2.5.0 1205 | '@tauri-apps/cli-darwin-x64': 2.5.0 1206 | '@tauri-apps/cli-linux-arm-gnueabihf': 2.5.0 1207 | '@tauri-apps/cli-linux-arm64-gnu': 2.5.0 1208 | '@tauri-apps/cli-linux-arm64-musl': 2.5.0 1209 | '@tauri-apps/cli-linux-riscv64-gnu': 2.5.0 1210 | '@tauri-apps/cli-linux-x64-gnu': 2.5.0 1211 | '@tauri-apps/cli-linux-x64-musl': 2.5.0 1212 | '@tauri-apps/cli-win32-arm64-msvc': 2.5.0 1213 | '@tauri-apps/cli-win32-ia32-msvc': 2.5.0 1214 | '@tauri-apps/cli-win32-x64-msvc': 2.5.0 1215 | 1216 | '@tauri-apps/plugin-dialog@2.2.1': 1217 | dependencies: 1218 | '@tauri-apps/api': 2.5.0 1219 | 1220 | '@tauri-apps/plugin-shell@2.2.1': 1221 | dependencies: 1222 | '@tauri-apps/api': 2.5.0 1223 | 1224 | '@types/eslint@9.6.1': 1225 | dependencies: 1226 | '@types/estree': 1.0.7 1227 | '@types/json-schema': 7.0.15 1228 | 1229 | '@types/eslint__js@8.42.3': 1230 | dependencies: 1231 | '@types/eslint': 9.6.1 1232 | 1233 | '@types/estree@1.0.7': {} 1234 | 1235 | '@types/jquery@3.5.32': 1236 | dependencies: 1237 | '@types/sizzle': 2.3.8 1238 | 1239 | '@types/json-schema@7.0.15': {} 1240 | 1241 | '@types/sizzle@2.3.8': {} 1242 | 1243 | '@typescript-eslint/eslint-plugin@8.31.1(@typescript-eslint/parser@8.31.1(eslint@9.25.1)(typescript@5.8.3))(eslint@9.25.1)(typescript@5.8.3)': 1244 | dependencies: 1245 | '@eslint-community/regexpp': 4.12.1 1246 | '@typescript-eslint/parser': 8.31.1(eslint@9.25.1)(typescript@5.8.3) 1247 | '@typescript-eslint/scope-manager': 8.31.1 1248 | '@typescript-eslint/type-utils': 8.31.1(eslint@9.25.1)(typescript@5.8.3) 1249 | '@typescript-eslint/utils': 8.31.1(eslint@9.25.1)(typescript@5.8.3) 1250 | '@typescript-eslint/visitor-keys': 8.31.1 1251 | eslint: 9.25.1 1252 | graphemer: 1.4.0 1253 | ignore: 5.3.2 1254 | natural-compare: 1.4.0 1255 | ts-api-utils: 2.1.0(typescript@5.8.3) 1256 | typescript: 5.8.3 1257 | transitivePeerDependencies: 1258 | - supports-color 1259 | 1260 | '@typescript-eslint/parser@8.31.1(eslint@9.25.1)(typescript@5.8.3)': 1261 | dependencies: 1262 | '@typescript-eslint/scope-manager': 8.31.1 1263 | '@typescript-eslint/types': 8.31.1 1264 | '@typescript-eslint/typescript-estree': 8.31.1(typescript@5.8.3) 1265 | '@typescript-eslint/visitor-keys': 8.31.1 1266 | debug: 4.4.0 1267 | eslint: 9.25.1 1268 | typescript: 5.8.3 1269 | transitivePeerDependencies: 1270 | - supports-color 1271 | 1272 | '@typescript-eslint/scope-manager@8.31.1': 1273 | dependencies: 1274 | '@typescript-eslint/types': 8.31.1 1275 | '@typescript-eslint/visitor-keys': 8.31.1 1276 | 1277 | '@typescript-eslint/type-utils@8.31.1(eslint@9.25.1)(typescript@5.8.3)': 1278 | dependencies: 1279 | '@typescript-eslint/typescript-estree': 8.31.1(typescript@5.8.3) 1280 | '@typescript-eslint/utils': 8.31.1(eslint@9.25.1)(typescript@5.8.3) 1281 | debug: 4.4.0 1282 | eslint: 9.25.1 1283 | ts-api-utils: 2.1.0(typescript@5.8.3) 1284 | typescript: 5.8.3 1285 | transitivePeerDependencies: 1286 | - supports-color 1287 | 1288 | '@typescript-eslint/types@8.31.1': {} 1289 | 1290 | '@typescript-eslint/typescript-estree@8.31.1(typescript@5.8.3)': 1291 | dependencies: 1292 | '@typescript-eslint/types': 8.31.1 1293 | '@typescript-eslint/visitor-keys': 8.31.1 1294 | debug: 4.4.0 1295 | fast-glob: 3.3.3 1296 | is-glob: 4.0.3 1297 | minimatch: 9.0.5 1298 | semver: 7.7.1 1299 | ts-api-utils: 2.1.0(typescript@5.8.3) 1300 | typescript: 5.8.3 1301 | transitivePeerDependencies: 1302 | - supports-color 1303 | 1304 | '@typescript-eslint/utils@8.31.1(eslint@9.25.1)(typescript@5.8.3)': 1305 | dependencies: 1306 | '@eslint-community/eslint-utils': 4.6.1(eslint@9.25.1) 1307 | '@typescript-eslint/scope-manager': 8.31.1 1308 | '@typescript-eslint/types': 8.31.1 1309 | '@typescript-eslint/typescript-estree': 8.31.1(typescript@5.8.3) 1310 | eslint: 9.25.1 1311 | typescript: 5.8.3 1312 | transitivePeerDependencies: 1313 | - supports-color 1314 | 1315 | '@typescript-eslint/visitor-keys@8.31.1': 1316 | dependencies: 1317 | '@typescript-eslint/types': 8.31.1 1318 | eslint-visitor-keys: 4.2.0 1319 | 1320 | acorn-jsx@5.3.2(acorn@8.14.1): 1321 | dependencies: 1322 | acorn: 8.14.1 1323 | 1324 | acorn@8.14.1: {} 1325 | 1326 | ajv@6.12.6: 1327 | dependencies: 1328 | fast-deep-equal: 3.1.3 1329 | fast-json-stable-stringify: 2.1.0 1330 | json-schema-traverse: 0.4.1 1331 | uri-js: 4.4.1 1332 | 1333 | ansi-styles@4.3.0: 1334 | dependencies: 1335 | color-convert: 2.0.1 1336 | 1337 | argparse@2.0.1: {} 1338 | 1339 | balanced-match@1.0.2: {} 1340 | 1341 | brace-expansion@1.1.11: 1342 | dependencies: 1343 | balanced-match: 1.0.2 1344 | concat-map: 0.0.1 1345 | 1346 | brace-expansion@2.0.1: 1347 | dependencies: 1348 | balanced-match: 1.0.2 1349 | 1350 | braces@3.0.3: 1351 | dependencies: 1352 | fill-range: 7.1.1 1353 | 1354 | callsites@3.1.0: {} 1355 | 1356 | chalk@4.1.2: 1357 | dependencies: 1358 | ansi-styles: 4.3.0 1359 | supports-color: 7.2.0 1360 | 1361 | color-convert@2.0.1: 1362 | dependencies: 1363 | color-name: 1.1.4 1364 | 1365 | color-name@1.1.4: {} 1366 | 1367 | concat-map@0.0.1: {} 1368 | 1369 | cross-spawn@7.0.6: 1370 | dependencies: 1371 | path-key: 3.1.1 1372 | shebang-command: 2.0.0 1373 | which: 2.0.2 1374 | 1375 | debug@4.4.0: 1376 | dependencies: 1377 | ms: 2.1.3 1378 | 1379 | deep-is@0.1.4: {} 1380 | 1381 | esbuild@0.25.4: 1382 | optionalDependencies: 1383 | '@esbuild/aix-ppc64': 0.25.4 1384 | '@esbuild/android-arm': 0.25.4 1385 | '@esbuild/android-arm64': 0.25.4 1386 | '@esbuild/android-x64': 0.25.4 1387 | '@esbuild/darwin-arm64': 0.25.4 1388 | '@esbuild/darwin-x64': 0.25.4 1389 | '@esbuild/freebsd-arm64': 0.25.4 1390 | '@esbuild/freebsd-x64': 0.25.4 1391 | '@esbuild/linux-arm': 0.25.4 1392 | '@esbuild/linux-arm64': 0.25.4 1393 | '@esbuild/linux-ia32': 0.25.4 1394 | '@esbuild/linux-loong64': 0.25.4 1395 | '@esbuild/linux-mips64el': 0.25.4 1396 | '@esbuild/linux-ppc64': 0.25.4 1397 | '@esbuild/linux-riscv64': 0.25.4 1398 | '@esbuild/linux-s390x': 0.25.4 1399 | '@esbuild/linux-x64': 0.25.4 1400 | '@esbuild/netbsd-arm64': 0.25.4 1401 | '@esbuild/netbsd-x64': 0.25.4 1402 | '@esbuild/openbsd-arm64': 0.25.4 1403 | '@esbuild/openbsd-x64': 0.25.4 1404 | '@esbuild/sunos-x64': 0.25.4 1405 | '@esbuild/win32-arm64': 0.25.4 1406 | '@esbuild/win32-ia32': 0.25.4 1407 | '@esbuild/win32-x64': 0.25.4 1408 | 1409 | escape-string-regexp@4.0.0: {} 1410 | 1411 | eslint-scope@8.3.0: 1412 | dependencies: 1413 | esrecurse: 4.3.0 1414 | estraverse: 5.3.0 1415 | 1416 | eslint-visitor-keys@3.4.3: {} 1417 | 1418 | eslint-visitor-keys@4.2.0: {} 1419 | 1420 | eslint@9.25.1: 1421 | dependencies: 1422 | '@eslint-community/eslint-utils': 4.6.1(eslint@9.25.1) 1423 | '@eslint-community/regexpp': 4.12.1 1424 | '@eslint/config-array': 0.20.0 1425 | '@eslint/config-helpers': 0.2.2 1426 | '@eslint/core': 0.13.0 1427 | '@eslint/eslintrc': 3.3.1 1428 | '@eslint/js': 9.25.1 1429 | '@eslint/plugin-kit': 0.2.8 1430 | '@humanfs/node': 0.16.6 1431 | '@humanwhocodes/module-importer': 1.0.1 1432 | '@humanwhocodes/retry': 0.4.2 1433 | '@types/estree': 1.0.7 1434 | '@types/json-schema': 7.0.15 1435 | ajv: 6.12.6 1436 | chalk: 4.1.2 1437 | cross-spawn: 7.0.6 1438 | debug: 4.4.0 1439 | escape-string-regexp: 4.0.0 1440 | eslint-scope: 8.3.0 1441 | eslint-visitor-keys: 4.2.0 1442 | espree: 10.3.0 1443 | esquery: 1.6.0 1444 | esutils: 2.0.3 1445 | fast-deep-equal: 3.1.3 1446 | file-entry-cache: 8.0.0 1447 | find-up: 5.0.0 1448 | glob-parent: 6.0.2 1449 | ignore: 5.3.2 1450 | imurmurhash: 0.1.4 1451 | is-glob: 4.0.3 1452 | json-stable-stringify-without-jsonify: 1.0.1 1453 | lodash.merge: 4.6.2 1454 | minimatch: 3.1.2 1455 | natural-compare: 1.4.0 1456 | optionator: 0.9.4 1457 | transitivePeerDependencies: 1458 | - supports-color 1459 | 1460 | espree@10.3.0: 1461 | dependencies: 1462 | acorn: 8.14.1 1463 | acorn-jsx: 5.3.2(acorn@8.14.1) 1464 | eslint-visitor-keys: 4.2.0 1465 | 1466 | esquery@1.6.0: 1467 | dependencies: 1468 | estraverse: 5.3.0 1469 | 1470 | esrecurse@4.3.0: 1471 | dependencies: 1472 | estraverse: 5.3.0 1473 | 1474 | estraverse@5.3.0: {} 1475 | 1476 | esutils@2.0.3: {} 1477 | 1478 | fast-deep-equal@3.1.3: {} 1479 | 1480 | fast-glob@3.3.3: 1481 | dependencies: 1482 | '@nodelib/fs.stat': 2.0.5 1483 | '@nodelib/fs.walk': 1.2.8 1484 | glob-parent: 5.1.2 1485 | merge2: 1.4.1 1486 | micromatch: 4.0.8 1487 | 1488 | fast-json-stable-stringify@2.1.0: {} 1489 | 1490 | fast-levenshtein@2.0.6: {} 1491 | 1492 | fastq@1.19.1: 1493 | dependencies: 1494 | reusify: 1.1.0 1495 | 1496 | fdir@6.4.4(picomatch@4.0.2): 1497 | optionalDependencies: 1498 | picomatch: 4.0.2 1499 | 1500 | file-entry-cache@8.0.0: 1501 | dependencies: 1502 | flat-cache: 4.0.1 1503 | 1504 | fill-range@7.1.1: 1505 | dependencies: 1506 | to-regex-range: 5.0.1 1507 | 1508 | find-up@5.0.0: 1509 | dependencies: 1510 | locate-path: 6.0.0 1511 | path-exists: 4.0.0 1512 | 1513 | flat-cache@4.0.1: 1514 | dependencies: 1515 | flatted: 3.3.3 1516 | keyv: 4.5.4 1517 | 1518 | flatted@3.3.3: {} 1519 | 1520 | fsevents@2.3.3: 1521 | optional: true 1522 | 1523 | glob-parent@5.1.2: 1524 | dependencies: 1525 | is-glob: 4.0.3 1526 | 1527 | glob-parent@6.0.2: 1528 | dependencies: 1529 | is-glob: 4.0.3 1530 | 1531 | globals@14.0.0: {} 1532 | 1533 | graphemer@1.4.0: {} 1534 | 1535 | has-flag@4.0.0: {} 1536 | 1537 | ignore@5.3.2: {} 1538 | 1539 | import-fresh@3.3.1: 1540 | dependencies: 1541 | parent-module: 1.0.1 1542 | resolve-from: 4.0.0 1543 | 1544 | imurmurhash@0.1.4: {} 1545 | 1546 | is-extglob@2.1.1: {} 1547 | 1548 | is-glob@4.0.3: 1549 | dependencies: 1550 | is-extglob: 2.1.1 1551 | 1552 | is-number@7.0.0: {} 1553 | 1554 | isexe@2.0.0: {} 1555 | 1556 | jquery@3.7.1: {} 1557 | 1558 | js-yaml@4.1.0: 1559 | dependencies: 1560 | argparse: 2.0.1 1561 | 1562 | json-buffer@3.0.1: {} 1563 | 1564 | json-schema-traverse@0.4.1: {} 1565 | 1566 | json-stable-stringify-without-jsonify@1.0.1: {} 1567 | 1568 | keyv@4.5.4: 1569 | dependencies: 1570 | json-buffer: 3.0.1 1571 | 1572 | levn@0.4.1: 1573 | dependencies: 1574 | prelude-ls: 1.2.1 1575 | type-check: 0.4.0 1576 | 1577 | locate-path@6.0.0: 1578 | dependencies: 1579 | p-locate: 5.0.0 1580 | 1581 | lodash.merge@4.6.2: {} 1582 | 1583 | merge2@1.4.1: {} 1584 | 1585 | micromatch@4.0.8: 1586 | dependencies: 1587 | braces: 3.0.3 1588 | picomatch: 2.3.1 1589 | 1590 | minimatch@3.1.2: 1591 | dependencies: 1592 | brace-expansion: 1.1.11 1593 | 1594 | minimatch@9.0.5: 1595 | dependencies: 1596 | brace-expansion: 2.0.1 1597 | 1598 | ms@2.1.3: {} 1599 | 1600 | nanoid@3.3.11: {} 1601 | 1602 | natural-compare@1.4.0: {} 1603 | 1604 | optionator@0.9.4: 1605 | dependencies: 1606 | deep-is: 0.1.4 1607 | fast-levenshtein: 2.0.6 1608 | levn: 0.4.1 1609 | prelude-ls: 1.2.1 1610 | type-check: 0.4.0 1611 | word-wrap: 1.2.5 1612 | 1613 | p-limit@3.1.0: 1614 | dependencies: 1615 | yocto-queue: 0.1.0 1616 | 1617 | p-locate@5.0.0: 1618 | dependencies: 1619 | p-limit: 3.1.0 1620 | 1621 | parent-module@1.0.1: 1622 | dependencies: 1623 | callsites: 3.1.0 1624 | 1625 | path-exists@4.0.0: {} 1626 | 1627 | path-key@3.1.1: {} 1628 | 1629 | picocolors@1.1.1: {} 1630 | 1631 | picomatch@2.3.1: {} 1632 | 1633 | picomatch@4.0.2: {} 1634 | 1635 | postcss@8.5.3: 1636 | dependencies: 1637 | nanoid: 3.3.11 1638 | picocolors: 1.1.1 1639 | source-map-js: 1.2.1 1640 | 1641 | prelude-ls@1.2.1: {} 1642 | 1643 | punycode@2.3.1: {} 1644 | 1645 | queue-microtask@1.2.3: {} 1646 | 1647 | resolve-from@4.0.0: {} 1648 | 1649 | reusify@1.1.0: {} 1650 | 1651 | rollup@4.40.2: 1652 | dependencies: 1653 | '@types/estree': 1.0.7 1654 | optionalDependencies: 1655 | '@rollup/rollup-android-arm-eabi': 4.40.2 1656 | '@rollup/rollup-android-arm64': 4.40.2 1657 | '@rollup/rollup-darwin-arm64': 4.40.2 1658 | '@rollup/rollup-darwin-x64': 4.40.2 1659 | '@rollup/rollup-freebsd-arm64': 4.40.2 1660 | '@rollup/rollup-freebsd-x64': 4.40.2 1661 | '@rollup/rollup-linux-arm-gnueabihf': 4.40.2 1662 | '@rollup/rollup-linux-arm-musleabihf': 4.40.2 1663 | '@rollup/rollup-linux-arm64-gnu': 4.40.2 1664 | '@rollup/rollup-linux-arm64-musl': 4.40.2 1665 | '@rollup/rollup-linux-loongarch64-gnu': 4.40.2 1666 | '@rollup/rollup-linux-powerpc64le-gnu': 4.40.2 1667 | '@rollup/rollup-linux-riscv64-gnu': 4.40.2 1668 | '@rollup/rollup-linux-riscv64-musl': 4.40.2 1669 | '@rollup/rollup-linux-s390x-gnu': 4.40.2 1670 | '@rollup/rollup-linux-x64-gnu': 4.40.2 1671 | '@rollup/rollup-linux-x64-musl': 4.40.2 1672 | '@rollup/rollup-win32-arm64-msvc': 4.40.2 1673 | '@rollup/rollup-win32-ia32-msvc': 4.40.2 1674 | '@rollup/rollup-win32-x64-msvc': 4.40.2 1675 | fsevents: 2.3.3 1676 | 1677 | run-parallel@1.2.0: 1678 | dependencies: 1679 | queue-microtask: 1.2.3 1680 | 1681 | semver@7.7.1: {} 1682 | 1683 | shebang-command@2.0.0: 1684 | dependencies: 1685 | shebang-regex: 3.0.0 1686 | 1687 | shebang-regex@3.0.0: {} 1688 | 1689 | source-map-js@1.2.1: {} 1690 | 1691 | strip-json-comments@3.1.1: {} 1692 | 1693 | supports-color@7.2.0: 1694 | dependencies: 1695 | has-flag: 4.0.0 1696 | 1697 | tinyglobby@0.2.13: 1698 | dependencies: 1699 | fdir: 6.4.4(picomatch@4.0.2) 1700 | picomatch: 4.0.2 1701 | 1702 | to-regex-range@5.0.1: 1703 | dependencies: 1704 | is-number: 7.0.0 1705 | 1706 | ts-api-utils@2.1.0(typescript@5.8.3): 1707 | dependencies: 1708 | typescript: 5.8.3 1709 | 1710 | type-check@0.4.0: 1711 | dependencies: 1712 | prelude-ls: 1.2.1 1713 | 1714 | typescript-eslint@8.31.1(eslint@9.25.1)(typescript@5.8.3): 1715 | dependencies: 1716 | '@typescript-eslint/eslint-plugin': 8.31.1(@typescript-eslint/parser@8.31.1(eslint@9.25.1)(typescript@5.8.3))(eslint@9.25.1)(typescript@5.8.3) 1717 | '@typescript-eslint/parser': 8.31.1(eslint@9.25.1)(typescript@5.8.3) 1718 | '@typescript-eslint/utils': 8.31.1(eslint@9.25.1)(typescript@5.8.3) 1719 | eslint: 9.25.1 1720 | typescript: 5.8.3 1721 | transitivePeerDependencies: 1722 | - supports-color 1723 | 1724 | typescript@5.8.3: {} 1725 | 1726 | uri-js@4.4.1: 1727 | dependencies: 1728 | punycode: 2.3.1 1729 | 1730 | vite@6.3.5: 1731 | dependencies: 1732 | esbuild: 0.25.4 1733 | fdir: 6.4.4(picomatch@4.0.2) 1734 | picomatch: 4.0.2 1735 | postcss: 8.5.3 1736 | rollup: 4.40.2 1737 | tinyglobby: 0.2.13 1738 | optionalDependencies: 1739 | fsevents: 2.3.3 1740 | 1741 | which@2.0.2: 1742 | dependencies: 1743 | isexe: 2.0.0 1744 | 1745 | word-wrap@1.2.5: {} 1746 | 1747 | yocto-queue@0.1.0: {} 1748 | -------------------------------------------------------------------------------- /src-tauri/.gitignore: -------------------------------------------------------------------------------- 1 | # Generated by Cargo 2 | # will have compiled files and executables 3 | /target/ 4 | 5 | # Generated by Tauri 6 | # will have schema files for capabilities auto-completion 7 | /gen/schemas 8 | 9 | 10 | # DepotDownloader 11 | depot/ 12 | downloads/ 13 | .DepotDownloader/ 14 | Games/ 15 | Depots/ 16 | **/*.sh -------------------------------------------------------------------------------- /src-tauri/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "vectum" 3 | version = "3.0.1" 4 | description = "Download older versions of Steam games with DepotDownloader" 5 | authors = ["mmvanheusden"] 6 | edition = "2021" 7 | license = "GPL-3.0-only" 8 | 9 | # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html 10 | 11 | [build-dependencies] 12 | tauri-build = { version = "2.2.0", features = [] } 13 | 14 | [dependencies] 15 | fix-path-env = { git = "https://github.com/tauri-apps/fix-path-env-rs" } 16 | tauri = { version = "2.2.5", features = [] } 17 | tauri-plugin-shell = "2.2.1" 18 | tauri-plugin-dialog = "2.2.1" 19 | serde = { version = "1.0.219", features = ["derive"] } 20 | serde_json = "1.0.140" 21 | derive-getters = "0.5.0" 22 | reqwest = { version = "0.12.15",features = ["blocking"] } 23 | zip = "2.6.1" 24 | 25 | 26 | 27 | # Bacon - https://dystroy.org/bacon/ 28 | # Mold - https://github.com/rui314/mold#how-to-use 29 | # https://discord.com/channels/616186924390023171/731495028677148753/1254902668376150149 30 | [profile.dev] 31 | incremental = true 32 | opt-level = 1 33 | debug = 0 34 | 35 | [profile.dev.package."*"] 36 | opt-level = 2 37 | 38 | [profile.release] 39 | codegen-units = 1 # Allows LLVM to perform better optimization. 40 | lto = true # Enables link-time-optimizations. 41 | opt-level = 3 # Prioritizes small binary size. Use `3` if you prefer speed. 42 | panic = "abort" # Higher performance by disabling panic handlers. 43 | strip = true # Ensures debug symbols are removed. 44 | -------------------------------------------------------------------------------- /src-tauri/build.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | tauri_build::build() 3 | } 4 | -------------------------------------------------------------------------------- /src-tauri/capabilities/default.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "../gen/schemas/desktop-schema.json", 3 | "identifier": "default", 4 | "description": "Capability for the main window", 5 | "windows": [ 6 | "main" 7 | ], 8 | "permissions": [ 9 | "core:default", 10 | "shell:allow-open", 11 | "dialog:default", 12 | "shell:allow-execute", 13 | "shell:allow-spawn" 14 | ] 15 | } -------------------------------------------------------------------------------- /src-tauri/icons/128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmvanheusden/SteamDepotDownloaderGUI/6c50b0f816e51e726dc826ff32c963a442df6156/src-tauri/icons/128x128.png -------------------------------------------------------------------------------- /src-tauri/icons/128x128@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmvanheusden/SteamDepotDownloaderGUI/6c50b0f816e51e726dc826ff32c963a442df6156/src-tauri/icons/128x128@2x.png -------------------------------------------------------------------------------- /src-tauri/icons/32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmvanheusden/SteamDepotDownloaderGUI/6c50b0f816e51e726dc826ff32c963a442df6156/src-tauri/icons/32x32.png -------------------------------------------------------------------------------- /src-tauri/icons/Square107x107Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmvanheusden/SteamDepotDownloaderGUI/6c50b0f816e51e726dc826ff32c963a442df6156/src-tauri/icons/Square107x107Logo.png -------------------------------------------------------------------------------- /src-tauri/icons/Square142x142Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmvanheusden/SteamDepotDownloaderGUI/6c50b0f816e51e726dc826ff32c963a442df6156/src-tauri/icons/Square142x142Logo.png -------------------------------------------------------------------------------- /src-tauri/icons/Square150x150Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmvanheusden/SteamDepotDownloaderGUI/6c50b0f816e51e726dc826ff32c963a442df6156/src-tauri/icons/Square150x150Logo.png -------------------------------------------------------------------------------- /src-tauri/icons/Square284x284Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmvanheusden/SteamDepotDownloaderGUI/6c50b0f816e51e726dc826ff32c963a442df6156/src-tauri/icons/Square284x284Logo.png -------------------------------------------------------------------------------- /src-tauri/icons/Square30x30Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmvanheusden/SteamDepotDownloaderGUI/6c50b0f816e51e726dc826ff32c963a442df6156/src-tauri/icons/Square30x30Logo.png -------------------------------------------------------------------------------- /src-tauri/icons/Square310x310Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmvanheusden/SteamDepotDownloaderGUI/6c50b0f816e51e726dc826ff32c963a442df6156/src-tauri/icons/Square310x310Logo.png -------------------------------------------------------------------------------- /src-tauri/icons/Square44x44Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmvanheusden/SteamDepotDownloaderGUI/6c50b0f816e51e726dc826ff32c963a442df6156/src-tauri/icons/Square44x44Logo.png -------------------------------------------------------------------------------- /src-tauri/icons/Square71x71Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmvanheusden/SteamDepotDownloaderGUI/6c50b0f816e51e726dc826ff32c963a442df6156/src-tauri/icons/Square71x71Logo.png -------------------------------------------------------------------------------- /src-tauri/icons/Square89x89Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmvanheusden/SteamDepotDownloaderGUI/6c50b0f816e51e726dc826ff32c963a442df6156/src-tauri/icons/Square89x89Logo.png -------------------------------------------------------------------------------- /src-tauri/icons/StoreLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmvanheusden/SteamDepotDownloaderGUI/6c50b0f816e51e726dc826ff32c963a442df6156/src-tauri/icons/StoreLogo.png -------------------------------------------------------------------------------- /src-tauri/icons/icon.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmvanheusden/SteamDepotDownloaderGUI/6c50b0f816e51e726dc826ff32c963a442df6156/src-tauri/icons/icon.icns -------------------------------------------------------------------------------- /src-tauri/icons/icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmvanheusden/SteamDepotDownloaderGUI/6c50b0f816e51e726dc826ff32c963a442df6156/src-tauri/icons/icon.ico -------------------------------------------------------------------------------- /src-tauri/icons/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmvanheusden/SteamDepotDownloaderGUI/6c50b0f816e51e726dc826ff32c963a442df6156/src-tauri/icons/icon.png -------------------------------------------------------------------------------- /src-tauri/src/depotdownloader.rs: -------------------------------------------------------------------------------- 1 | use crate::get_os; 2 | use reqwest; 3 | use std::fs::File; 4 | use std::io::ErrorKind::AlreadyExists; 5 | use std::path::PathBuf; 6 | use std::{fs, io}; 7 | use std::{io::Write, path::Path}; 8 | 9 | pub static DEPOTDOWNLOADER_VERSION: &str = "3.0.0"; 10 | 11 | 12 | /** 13 | See: [`test_get_depotdownloader_url()`] 14 | */ 15 | pub fn get_depotdownloader_url() -> String { 16 | let arch = match std::env::consts::ARCH { 17 | "x86_64" => "x64", 18 | "aarch64" => "arm64", 19 | "arm" => "arm", 20 | _ => "x86_64", 21 | }; 22 | 23 | format!("https://github.com/SteamRE/DepotDownloader/releases/download/DepotDownloader_{}/DepotDownloader-{}-{}.zip", DEPOTDOWNLOADER_VERSION, get_os(), arch) 24 | } 25 | 26 | /// Downloads a file. The file will be saved to the [`filename`] provided. 27 | pub async fn download_file(url: &str, filename: &Path) -> io::Result<()> { 28 | if filename.exists() { 29 | println!("DEBUG: Not downloading. File already exists."); 30 | return Err(io::Error::from(AlreadyExists)); 31 | } 32 | 33 | // Create any missing directories. 34 | if let Some(p) = filename.parent() { 35 | if !p.exists() { 36 | fs::create_dir_all(p)?; 37 | } 38 | } 39 | 40 | let mut file = File::create(filename)?; 41 | let response = reqwest::get(url) 42 | .await 43 | .expect("Failed to contact internet."); 44 | 45 | let content = response.bytes().await.unwrap(); 46 | 47 | file.write_all(&content)?; 48 | Ok(()) 49 | } 50 | 51 | /// Unzips DepotDownloader zips 52 | pub fn unzip(zip_file: &Path, working_dir: &PathBuf) -> io::Result<()> { 53 | let file = File::open(zip_file)?; 54 | let mut archive = zip::ZipArchive::new(file)?; 55 | 56 | for i in 0..archive.len() { 57 | let mut file = archive.by_index(i)?; 58 | let outpath = match file.enclosed_name() { 59 | Some(path) => working_dir.join(path), 60 | None => continue, 61 | }; 62 | 63 | println!("Extracted {} from archive.", outpath.display()); 64 | 65 | if let Some(p) = outpath.parent() { 66 | if !p.exists() { 67 | fs::create_dir_all(p)?; 68 | } 69 | } 70 | let mut outfile = File::create(&outpath)?; 71 | io::copy(&mut file, &mut outfile)?; 72 | 73 | // Copy over permissions from enclosed file to extracted file on UNIX systems. 74 | #[cfg(unix)] 75 | { 76 | use std::os::unix::fs::PermissionsExt; 77 | 78 | // If the mode `file.unix_mode()` is something (not None), copy it over to the extracted file. 79 | if let Some(mode) = file.unix_mode() { 80 | fs::set_permissions(&outpath, fs::Permissions::from_mode(mode))?; 81 | } 82 | 83 | // Set executable permission. 84 | if outpath.file_name().unwrap() == "DepotDownloader" { 85 | fs::set_permissions(&outpath, fs::Permissions::from_mode(0o755))?; 86 | } 87 | } 88 | } 89 | Ok(()) 90 | } 91 | 92 | #[cfg(test)] 93 | mod tests { 94 | use super::*; 95 | use reqwest::blocking; 96 | 97 | #[test] 98 | /// checks if all possible DepotDownloader URLs exist. 99 | fn test_get_depotdownloader_url() { 100 | for os in ["windows", "linux", "macos"].iter() { 101 | for arch in ["x64", "arm64", "arm"].iter() { 102 | if arch.eq(&"arm") && !os.eq(&"linux") { 103 | continue; 104 | } 105 | let url = format!("https://github.com/SteamRE/DepotDownloader/releases/download/DepotDownloader_{}/DepotDownloader-{}-{}.zip", DEPOTDOWNLOADER_VERSION, os, arch); 106 | println!("Testing DepotDownloader URL: {}", url); 107 | 108 | assert!(blocking::get(url).unwrap().status().is_success()); 109 | } 110 | } 111 | } 112 | } 113 | -------------------------------------------------------------------------------- /src-tauri/src/main.rs: -------------------------------------------------------------------------------- 1 | // Prevents additional console window on Windows in release, DO NOT REMOVE!! 2 | #![cfg_attr(not(debug_assertions), windows_subsystem = "windows")] 3 | 4 | mod depotdownloader; 5 | mod steam; 6 | mod terminal; 7 | 8 | use crate::depotdownloader::{get_depotdownloader_url, DEPOTDOWNLOADER_VERSION}; 9 | use crate::terminal::Terminal; 10 | use std::env; 11 | use std::io::ErrorKind::AlreadyExists; 12 | use std::path::{Path, PathBuf}; 13 | use std::sync::OnceLock; 14 | use std::time::Duration; 15 | use tauri::{AppHandle, Emitter, Manager}; 16 | use tauri_plugin_shell::ShellExt; 17 | 18 | 19 | /// The first terminal found. Used as default terminal. 20 | static TERMINAL: OnceLock> = OnceLock::new(); // We create this variable now, and quickly populate it in preload_vectum(). we then later access the data in start_download() 21 | static WORKING_DIR: OnceLock = OnceLock::new(); 22 | 23 | /// This function is called every time the app is reloaded/started. It quickly populates the [`TERMINAL`] variable with a working terminal. 24 | #[tauri::command] 25 | async fn preload_vectum(app: AppHandle) { 26 | // Only fill these variables once. 27 | if TERMINAL.get().is_none() { 28 | TERMINAL.set(terminal::get_installed_terminals(true, app.shell()).await).expect("Failed to set available terminals") 29 | } 30 | 31 | if WORKING_DIR.get().is_none() { 32 | WORKING_DIR.set(Path::join(&app.path().local_data_dir().unwrap(), "SteamDepotDownloaderGUI")).expect("Failed to configure working directory") 33 | } 34 | 35 | // Send the default terminal name to the frontend. 36 | app.emit( 37 | "default-terminal", 38 | Terminal::pretty_name(&TERMINAL.get().unwrap()[0]), 39 | ).unwrap(); 40 | } 41 | 42 | #[tauri::command] 43 | async fn start_download(steam_download: steam::SteamDownload, app: AppHandle) { 44 | let default_terminal = TERMINAL.get().unwrap(); 45 | let shell = app.shell(); 46 | let terminal_to_use = if steam_download.options().terminal().is_none() { default_terminal.first().unwrap() } else { &Terminal::from_index(&steam_download.options().terminal().unwrap()).unwrap() }; 47 | // Also change working directory 48 | std::env::set_current_dir(&WORKING_DIR.get().unwrap()).unwrap(); 49 | 50 | println!("\n-------------------------DEBUG INFO------------------------"); 51 | println!("received these values from frontend:"); 52 | println!("\t- Username: {}", steam_download.username().as_ref().unwrap_or(&String::from("Not provided"))); 53 | // println!("\t- Password: {}", steam_download.password().as_ref().unwrap_or(&String::from("Not provided"))); Don't log in prod lol 54 | println!("\t- App ID: {}", steam_download.app_id()); 55 | println!("\t- Depot ID: {}", steam_download.depot_id()); 56 | println!("\t- Manifest ID: {}", steam_download.manifest_id()); 57 | println!("\t- Output Path: {}", steam_download.output_path()); 58 | println!("\t- Default terminal: {}", Terminal::pretty_name(&default_terminal[0])); 59 | println!("\t- Working directory: {}", &WORKING_DIR.get().unwrap().display()); 60 | println!("\t- Terminal command: \n\t {:?}", terminal_to_use.create_command(&steam_download, shell, &WORKING_DIR.get().unwrap())); 61 | println!("----------------------------------------------------------\n"); 62 | 63 | 64 | terminal_to_use.create_command(&steam_download, shell, &WORKING_DIR.get().unwrap()).spawn().ok(); 65 | } 66 | 67 | /// Downloads the DepotDownloader zip file from the internet based on the OS. 68 | #[tauri::command] 69 | async fn download_depotdownloader() { 70 | let url = get_depotdownloader_url(); 71 | 72 | // Where we store the DepotDownloader zip. 73 | let zip_filename = format!("DepotDownloader-v{}-{}.zip", DEPOTDOWNLOADER_VERSION, env::consts::OS); 74 | let depotdownloader_zip = Path::join(&WORKING_DIR.get().unwrap(), Path::new(&zip_filename)); 75 | 76 | 77 | if let Err(e) = depotdownloader::download_file(url.as_str(), depotdownloader_zip.as_path()).await { 78 | if e.kind() == AlreadyExists { 79 | println!("DepotDownloader already exists. Skipping download."); 80 | } else { 81 | println!("Failed to download DepotDownloader: {}", e); 82 | } 83 | return; 84 | } else { 85 | println!("Downloaded DepotDownloader for {} to {}", env::consts::OS, depotdownloader_zip.display()); 86 | } 87 | 88 | depotdownloader::unzip(depotdownloader_zip.as_path(), &WORKING_DIR.get().unwrap()).unwrap(); 89 | println!("Succesfully extracted DepotDownloader zip."); 90 | } 91 | 92 | /// Checks internet connectivity using Google 93 | #[tauri::command] 94 | async fn internet_connection() -> bool { 95 | let client = reqwest::Client::builder().timeout(Duration::from_secs(5)).build().unwrap(); 96 | 97 | client.get("https://connectivitycheck.android.com/generate_204").send().await.is_ok() 98 | } 99 | 100 | #[tauri::command] 101 | async fn get_all_terminals(app: AppHandle) { 102 | let terminals = terminal::get_installed_terminals(false, app.shell()).await; 103 | 104 | terminals.iter().for_each(|terminal| { 105 | println!("Terminal #{} ({}) is installed!", terminal.index().unwrap(), terminal.pretty_name()); 106 | 107 | // Sends: (terminal index aligned with dropdown; total terminals) 108 | app.emit("working-terminal", (terminal.index(), Terminal::total())).unwrap(); 109 | }); 110 | } 111 | 112 | pub fn get_os() -> &'static str { 113 | match env::consts::OS { 114 | "linux" => "linux", 115 | "macos" => "macos", 116 | "windows" => "windows", 117 | _ => "unknown", 118 | } 119 | } 120 | 121 | fn main() { 122 | // macOS: change dir to documents because upon opening, our current dir by default is "/". 123 | if get_os() == "macos" { 124 | let _ = fix_path_env::fix(); // todo: does this actually do something useful 125 | // let documents_dir = format!( 126 | // "{}/Documents/SteamDepotDownloaderGUI", 127 | // std::env::var_os("HOME").unwrap().to_str().unwrap() 128 | // ); 129 | // let documents_dir = Path::new(&documents_dir); 130 | // // println!("{}", documents_dir.display()); 131 | 132 | // std::fs::create_dir_all(documents_dir).unwrap(); 133 | // env::set_current_dir(documents_dir).unwrap(); 134 | } 135 | 136 | println!(); 137 | tauri::Builder::default().plugin(tauri_plugin_dialog::init()).plugin(tauri_plugin_shell::init()).invoke_handler(tauri::generate_handler![ 138 | start_download, 139 | download_depotdownloader, 140 | internet_connection, 141 | preload_vectum, 142 | get_all_terminals 143 | ]).run(tauri::generate_context!()).expect("error while running tauri application"); 144 | } 145 | -------------------------------------------------------------------------------- /src-tauri/src/steam.rs: -------------------------------------------------------------------------------- 1 | use derive_getters::Getters; 2 | use serde::Deserialize; 3 | use std::path::PathBuf; 4 | 5 | 6 | /// Represents the data required to download a Steam depot. 7 | #[derive(Deserialize, Debug, Getters)] 8 | pub struct SteamDownload { 9 | username: Option, 10 | password: Option, 11 | app_id: String, 12 | depot_id: String, 13 | manifest_id: String, 14 | options: VectumOptions 15 | } 16 | 17 | #[derive(Debug, Deserialize, Getters)] 18 | pub struct VectumOptions { 19 | terminal: Option, 20 | output_directory: Option, 21 | directory_name: Option 22 | } 23 | 24 | 25 | impl SteamDownload { 26 | /// If a username or password are not provided, the download is considered anonymous 27 | pub fn is_anonymous(&self) -> bool { 28 | self.username.is_none() || self.password.is_none() 29 | } 30 | 31 | /// The directory where the download should happen 32 | pub fn output_path(&self) -> String { 33 | let sep = std::path::MAIN_SEPARATOR.to_string(); 34 | match (&self.options.output_directory, &self.options.directory_name) { 35 | (Some(output_dir), Some(dir_name)) => format!("{}{}{}", output_dir.display(), sep, dir_name), 36 | (Some(output_dir), None) => format!("{}{}{}", output_dir.display(), sep, &self.manifest_id), 37 | (None, Some(dir_name)) => format!(".{}{}", sep, dir_name), 38 | (None, None) => format!(".{}{}", sep, &self.manifest_id) 39 | } 40 | } 41 | } -------------------------------------------------------------------------------- /src-tauri/src/terminal.rs: -------------------------------------------------------------------------------- 1 | use crate::get_os; 2 | use crate::steam::SteamDownload; 3 | use std::fs; 4 | use std::path::PathBuf; 5 | use tauri::Wry; 6 | use tauri_plugin_shell::process::Command; 7 | use tauri_plugin_shell::Shell; 8 | 9 | /// Represents a terminal that can be used to run commands. 10 | /// **Should be in sync with the terminal dropdown in the frontend.** 11 | #[derive(Debug, PartialEq)] 12 | pub enum Terminal { 13 | GNOMETerminal, 14 | Alacritty, 15 | Konsole, 16 | GNOMEConsole, 17 | Xfce4Terminal, 18 | DeepinTerminal, 19 | Terminator, 20 | Kitty, 21 | LXTerminal, 22 | Tilix, 23 | XTerm, 24 | CMD, 25 | Terminal 26 | } 27 | 28 | 29 | impl Terminal { 30 | /// Iterates through each terminal 31 | pub fn iter() -> impl Iterator { 32 | use self::Terminal::*; 33 | 34 | vec![ 35 | GNOMETerminal, Alacritty, Konsole, GNOMEConsole, Xfce4Terminal, DeepinTerminal, Terminator, Kitty, LXTerminal, Tilix, XTerm, CMD, Terminal 36 | ].into_iter() 37 | } 38 | 39 | /// Get terminal from index in order of the [`Terminal`] enum 40 | pub fn from_index(index: &u8) -> Option { 41 | Terminal::iter().nth(*index as usize) 42 | } 43 | 44 | /// Get the index of a terminal in the order of the [`Terminal`] enum 45 | /// Returns `None` if the terminal is not found. 46 | pub fn index(&self) -> Option { 47 | Terminal::iter().position(|x| x == *self).map(|x| x as u8) 48 | } 49 | 50 | 51 | /// Get total number of terminals **possible** depending on the OS 52 | pub fn total() -> u8 { 53 | if get_os() == "windows" || get_os() == "macos" { 54 | return 1; 55 | } 56 | 57 | Terminal::iter().count() as u8 - 1 // -1 because cmd is not available on linux 58 | } 59 | 60 | /// Get the pretty name of a terminal 61 | pub fn pretty_name(&self) -> &str { 62 | match self { 63 | Terminal::GNOMETerminal => "GNOME Terminal", 64 | Terminal::GNOMEConsole => "GNOME Console", 65 | Terminal::Konsole => "Konsole", 66 | Terminal::Xfce4Terminal => "Xfce Terminal", 67 | Terminal::Terminator => "Terminator", 68 | Terminal::XTerm => "XTerm", 69 | Terminal::Kitty => "Kitty", 70 | Terminal::LXTerminal => "LXTerminal", 71 | Terminal::Tilix => "Tilix", 72 | Terminal::DeepinTerminal => "Deepin Terminal", 73 | Terminal::Alacritty => "Alacritty", 74 | Terminal::CMD => "cmd", 75 | Terminal::Terminal => "Terminal" 76 | } 77 | } 78 | 79 | 80 | //region Probing a terminal 81 | /// Checks if a [`Terminal`] is installed. 82 | /// **See:** [`get_installed_terminals`] 83 | pub async fn installed(&self, shell: &Shell) -> bool { 84 | match self { 85 | Terminal::CMD => get_os() == "windows", 86 | Terminal::GNOMETerminal => shell.command("gnome-terminal").arg("--version").status().await.is_ok(), 87 | Terminal::GNOMEConsole => shell.command("kgx").arg("--version").status().await.is_ok(), 88 | Terminal::Konsole => shell.command("konsole").arg("--version").status().await.is_ok(), 89 | Terminal::Xfce4Terminal => shell.command("xfce4-terminal").arg("--version").status().await.is_ok(), 90 | Terminal::Terminator => shell.command("terminator").arg("--version").status().await.is_ok(), 91 | Terminal::XTerm => shell.command("xterm").arg("-v").status().await.is_ok(), 92 | Terminal::Kitty => shell.command("kitty").arg("--version").status().await.is_ok(), 93 | Terminal::LXTerminal => shell.command("lxterminal").arg("--version").status().await.is_ok(), 94 | Terminal::Tilix => shell.command("tilix").arg("--version").status().await.is_ok(), 95 | Terminal::DeepinTerminal => shell.command("deepin-terminal").arg("--version").status().await.is_ok(), 96 | Terminal::Alacritty => shell.command("alacritty").arg("--version").status().await.is_ok(), 97 | Terminal::Terminal => get_os() == "macos", 98 | } 99 | } 100 | //endregion 101 | 102 | 103 | //region Running a command in the terminal 104 | /** 105 | Returns a [`Command`] that, when executed should open the terminal and run the command. 106 | 107 | 108 | ## Commands 109 | `{command}` = `{command};echo Command finished with code $?;sleep infinity` 110 | 111 | | Terminal | Command to open terminal | 112 | |------------------|--------------------------------------------------------------------------| 113 | | cmd | `start cmd.exe /k {command}` | 114 | | GNOMETerminal | `gnome-terminal -- /usr/bin/env sh -c {command}` | 115 | | GNOMEConsole | `kgx -e /usr/bin/env sh -c {command}` | 116 | | Konsole | `konsole -e /usr/bin/env sh -c {command}` | 117 | | Xfce4Terminal | `xfce4-terminal -x /usr/bin/env sh -c {command}` | 118 | | Terminator | `terminator -T "Downloading depot..." -e {command}` | 119 | | XTerm | `xterm -hold -T "Downloading depot..." -e /usr/bin/env sh -c {command}` | 120 | | Kitty | `kitty /usr/bin/env sh -c {command}` | 121 | | LXTerminal | `lxterminal -e /usr/bin/env sh -c {command}` | 122 | | Tilix | `tilix -e /usr/bin/env sh -c {command}` | 123 | | DeepinTerminal | `deepin-terminal -e /usr/bin/env sh -c {command}` | 124 | | Alacritty | `alacritty -e /usr/bin/env sh -c {command}` | 125 | | Terminal (macOS) | We create a bash script and run that using `open`. | 126 | 127 | */ 128 | pub fn create_command(&self, steam_download: &SteamDownload, shell: &Shell, working_dir: &PathBuf) -> Command { 129 | let command = create_depotdownloader_command(steam_download); 130 | 131 | match self { 132 | Terminal::CMD => { 133 | return shell.command("cmd.exe").args(&["/c", "start", "PowerShell.exe", "-NoExit", "-Command"]).args(command); 134 | 135 | /* let mut cmd = std::process::Command::new("cmd.exe"); 136 | cmd.args(&["/c", "start", "PowerShell.exe", "-NoExit", "-Command"]).args(command); 137 | 138 | return cmd*/ 139 | } 140 | Terminal::GNOMETerminal => { 141 | shell.command("gnome-terminal") 142 | .args(&["--", "/usr/bin/env", "sh", "-c"]) 143 | .args(command) 144 | .current_dir(working_dir.as_path()) 145 | } 146 | Terminal::GNOMEConsole => { 147 | shell.command("kgx") 148 | .args(&["-e", "/usr/bin/env", "sh", "-c"]) 149 | .args(command) 150 | .current_dir(working_dir.as_path()) 151 | } 152 | Terminal::Konsole => { 153 | shell.command("konsole") 154 | .args(&["-e", "/usr/bin/env", "sh", "-c"]) 155 | .args(command) 156 | .current_dir(working_dir.as_path()) 157 | } 158 | Terminal::Xfce4Terminal => { 159 | shell.command("xfce4-terminal") 160 | .args(&["-x", "/usr/bin/env", "sh", "-c"]) 161 | .args(command) 162 | .current_dir(working_dir.as_path()) 163 | } 164 | Terminal::Terminator => { 165 | shell.command("terminator") 166 | .args(&["-T", "Downloading depot...", "-e"]) 167 | .args(command) 168 | .current_dir(working_dir.as_path()) 169 | } 170 | Terminal::XTerm => { 171 | shell.command("xterm") 172 | .args(&["-hold", "-T", "Downloading depot...", "-e", "/usr/bin/env", "sh", "-c"]) 173 | .args(command) 174 | .current_dir(working_dir.as_path()) 175 | } 176 | Terminal::Kitty => { 177 | shell.command("kitty") 178 | .args(&["/usr/bin/env", "sh", "-c"]) 179 | .args(command) 180 | .current_dir(working_dir.as_path()) 181 | } 182 | Terminal::LXTerminal => { 183 | shell.command("lxterminal") 184 | .args(&["-e", "/usr/bin/env", "sh", "-c"]) 185 | .args(command) 186 | .current_dir(working_dir.as_path()) 187 | } 188 | Terminal::Tilix => { 189 | shell.command("tilix") 190 | .args(&["-e", "/usr/bin/env", "sh", "-c"]) 191 | .args(command) 192 | .current_dir(working_dir.as_path()) 193 | } 194 | Terminal::DeepinTerminal => { 195 | shell.command("deepin-terminal") 196 | .args(&["-e", "/usr/bin/env", "sh", "-c"]) 197 | .args(command) 198 | .current_dir(working_dir.as_path()) 199 | } 200 | 201 | Terminal::Alacritty => { 202 | shell.command("alacritty") 203 | .args(&["-e", "/usr/bin/env", "sh", "-c"]) 204 | .args(command) 205 | .current_dir(working_dir.as_path()) 206 | } 207 | Terminal::Terminal => { 208 | // Create a bash script and run that. Not very secure but it makes this easier. 209 | let download_script = format!("#!/bin/bash\ncd {}\n{}",working_dir.to_str().unwrap().replace(" ", "\\ "), command[0]); 210 | 211 | fs::write("./script.sh", download_script).unwrap(); 212 | 213 | #[cfg(unix)] 214 | { 215 | use std::os::unix::fs::PermissionsExt; 216 | fs::set_permissions("./script.sh", fs::Permissions::from_mode(0o755)).unwrap(); // Won't run without executable permission 217 | } 218 | 219 | shell.command("/usr/bin/open") 220 | .args(&["-a", "Terminal", "./script.sh"]) 221 | .current_dir(working_dir.as_path()) 222 | 223 | } 224 | } 225 | } 226 | //endregion 227 | } 228 | 229 | /** 230 | Checks if terminals are installed by checking if they respond to commands. 231 | 232 | ## How it works 233 | Probes a list of popular terminals and checks if they return an error when calling their `--version` or similar command line flag. 234 | 235 | ## Options 236 | * `return_immediately`: [`bool`]: Return as soon as one terminal is found. 237 | 238 | ## Returns 239 | A vector containing a list of terminals that should work. 240 | 241 | ## Commands 242 | | Terminal | Command to check if installed | 243 | |----------------|-------------------------------| 244 | | cmd | `cmd /?` | 245 | | GNOMETerminal | `gnome-terminal --version` | 246 | | GNOMEConsole | `kgx --version` | 247 | | Konsole | `konsole --version` | 248 | | Xfce4Terminal | `xfce4-terminal --version` | 249 | | Terminator | `terminator --version` | 250 | | XTerm | `xterm -v` | 251 | | Kitty | `kitty --version` | 252 | | LXTerminal | `lxterminal --version` | 253 | | Tilix | `tilix --version` | 254 | | DeepinTerminal | `deepin-terminal --version` | 255 | | Alacritty | `alacritty --version` | 256 | 257 | */ 258 | pub async fn get_installed_terminals(return_immediately: bool, shell: &Shell) -> Vec { 259 | match get_os() { 260 | "windows" => { return vec!(Terminal::CMD); } 261 | "macos" => { return vec!(Terminal::Terminal); } 262 | _ => {} 263 | } 264 | 265 | 266 | let mut available_terminals: Vec = Vec::new(); 267 | 268 | for terminal in Terminal::iter() { 269 | // Probe terminal. If it doesn't raise an error, it is probably installed. 270 | if terminal.installed(shell).await { 271 | if return_immediately { 272 | return vec![terminal]; 273 | } 274 | available_terminals.push(terminal); 275 | } 276 | } 277 | 278 | if available_terminals.is_empty() { 279 | eprintln!("No terminals were detected. Try installing one."); 280 | } 281 | 282 | available_terminals 283 | } 284 | 285 | /// Creates the DepotDownloader command necessary to download the requested manifest. 286 | fn create_depotdownloader_command(steam_download: &SteamDownload) -> Vec { 287 | let output_dir = if get_os() == "windows" { 288 | // In PowerShell, spaces can be escaped with a backtick. 289 | steam_download.output_path().replace(" ", "` ") 290 | } else { 291 | // In bash, spaces can be escaped with a backslash. 292 | steam_download.output_path().replace(" ", "\\ ") 293 | }; 294 | 295 | 296 | if cfg!(not(windows)) { 297 | if steam_download.is_anonymous() { 298 | vec![format!(r#"./DepotDownloader -app {} -depot {} -manifest {} -dir {};echo Done!;sleep infinity"#, steam_download.app_id(), steam_download.depot_id(), steam_download.manifest_id(), output_dir)] 299 | } else { 300 | vec![format!(r#"./DepotDownloader -username {} -password {} -app {} -depot {} -manifest {} -dir {};echo Done!;sleep infinity"#, steam_download.username().clone().unwrap(), steam_download.password().clone().unwrap(), steam_download.app_id(), steam_download.depot_id(), steam_download.manifest_id(), output_dir)] 301 | } 302 | } else { 303 | if steam_download.is_anonymous() { 304 | vec![format!(r#".\DepotDownloader.exe -app {} -depot {} -manifest {} -dir {}"#, steam_download.app_id(), steam_download.depot_id(), steam_download.manifest_id(), output_dir)] 305 | } else { 306 | vec![format!(r#".\DepotDownloader.exe -username {} -password {} -app {} -depot {} -manifest {} -dir {}"#, steam_download.username().clone().unwrap(), steam_download.password().clone().unwrap(), steam_download.app_id(), steam_download.depot_id(), steam_download.manifest_id(), output_dir)] 307 | } 308 | } 309 | } 310 | -------------------------------------------------------------------------------- /src-tauri/tauri.conf.json: -------------------------------------------------------------------------------- 1 | { 2 | "productName": "SteamDepotDownloaderGUI", 3 | "version": "3.0.1", 4 | "identifier": "net.oopium.depotdownloader", 5 | "build": { 6 | "beforeDevCommand": "pnpm dev", 7 | "devUrl": "http://localhost:1420", 8 | "beforeBuildCommand": "pnpm build", 9 | "frontendDist": "../dist" 10 | }, 11 | "app": { 12 | "withGlobalTauri": true, 13 | "windows": [ 14 | { 15 | "title": "SteamDepotDownloaderGUI", 16 | "width": 445, 17 | "height": 650, 18 | "resizable": false 19 | } 20 | ], 21 | "security": { 22 | "csp": null 23 | } 24 | }, 25 | "bundle": { 26 | "active": true, 27 | "targets": "all", 28 | "icon": [ 29 | "icons/32x32.png", 30 | "icons/128x128.png", 31 | "icons/128x128@2x.png", 32 | "icons/icon.icns", 33 | "icons/icon.ico" 34 | ] 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/assets/Hubot-Sans.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmvanheusden/SteamDepotDownloaderGUI/6c50b0f816e51e726dc826ff32c963a442df6156/src/assets/Hubot-Sans.woff2 -------------------------------------------------------------------------------- /src/assets/Windows.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmvanheusden/SteamDepotDownloaderGUI/6c50b0f816e51e726dc826ff32c963a442df6156/src/assets/Windows.woff -------------------------------------------------------------------------------- /src/css/style.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'Hubot Sans'; 3 | src: url('../assets/Hubot-Sans.woff2') format('woff2 supports variations'), 4 | url('../assets/Hubot-Sans.woff2') format('woff2-variations'); 5 | font-weight: 700; 6 | font-stretch: expanded; 7 | } 8 | 9 | @font-face { 10 | font-family: 'Windows'; 11 | src: url('../assets/Windows.woff') format('woff2 supports variations'), 12 | url('../assets/Windows.woff') format('woff2-variations'); 13 | font-weight: 700; 14 | font-stretch: expanded; 15 | } 16 | 17 | .f1-light { 18 | font-family: 'Hubot Sans', sans-serif; 19 | overflow: hidden; 20 | white-space: nowrap; 21 | } 22 | 23 | /* The grey part */ 24 | .settings-surrounding { 25 | display: none; 26 | position: fixed; 27 | z-index: 1; 28 | left: 0; 29 | top: 0; 30 | width: 100%; 31 | height: 100%; 32 | overflow: hidden; 33 | background-color: rgba(0, 0, 0, 0.33); 34 | } 35 | 36 | .settings-content { 37 | position: relative; 38 | border-radius: 10px; 39 | overflow: auto; 40 | /*noinspection CssUnresolvedCustomProperty*/ 41 | background-color: var(--bgColor-default, var(--color-canvas-default)); 42 | margin: 5%; 43 | padding: 25px; 44 | border: 1.5px solid white; 45 | width: 90vw; /* 90vw -> 90% */ 46 | height: 90vh; /* 90vh -> 90% */ 47 | box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1); 48 | } 49 | 50 | [data-color-mode="light"] .settings-content { 51 | border: 1.5px solid black; 52 | } 53 | 54 | @media (prefers-color-scheme: light) { 55 | [data-color-mode="auto"] .settings-content { 56 | border: 1.5px solid black; 57 | } 58 | } 59 | 60 | .hide { 61 | display: none; 62 | } 63 | 64 | hr { 65 | border: 0; 66 | height: 1px; 67 | background: black linear-gradient(to right, #0c1016, #ccc, #0c1016); 68 | } 69 | 70 | [data-color-mode="light"] hr { 71 | filter: invert(1); 72 | } 73 | 74 | @media (prefers-color-scheme: light) { 75 | [data-color-mode="auto"] hr { 76 | filter: invert(1); 77 | } 78 | } 79 | 80 | .version-info { 81 | position: absolute; 82 | bottom: 0; 83 | right: 0; 84 | font-size: 0.9em; 85 | padding: 5px 10px; 86 | font-family: monospace; 87 | cursor: pointer; 88 | } 89 | 90 | .AnimatedEllipsis { 91 | display: inline-block; 92 | overflow: hidden; 93 | vertical-align: bottom 94 | } 95 | 96 | .AnimatedEllipsis::after { 97 | display: inline-block; 98 | content: "..."; 99 | animation: AnimatedEllipsis-keyframes 1s steps(4, jump-none) infinite 100 | } 101 | 102 | @keyframes AnimatedEllipsis-keyframes { 103 | 0% { 104 | transform: translateX(-100%) 105 | } 106 | } 107 | 108 | .opium-button { 109 | position: absolute; 110 | bottom: 0; 111 | left: 0; 112 | cursor: pointer; 113 | margin-left: 5px; 114 | margin-bottom: 4px; 115 | 116 | border: 1px solid #000; 117 | background: linear-gradient(180deg, #8C8C8C 25%, #434343 75%); 118 | display: inline-block; 119 | font: 16px "Windows", monospace; 120 | padding: 2px 5px; 121 | color: darkred; 122 | text-decoration: none; 123 | 124 | } 125 | 126 | .opium-button:hover { 127 | cursor: zoom-in; 128 | background: linear-gradient(180deg, #b0b0b0 25%, #504f4f 75%); 129 | } 130 | 131 | .opium-button:active { 132 | cursor: crosshair; 133 | border: 1px inset black; 134 | background: linear-gradient(180deg, #333232 25%, #504f4f 75%); 135 | } -------------------------------------------------------------------------------- /src/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | SteamDepotDownloaderGUI 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 |
18 |
Steam Depot Downloader
19 |
20 |
21 |
22 | 23 |
24 | 26 |
27 | 28 |
29 |
30 | 31 |
32 | 34 |
35 | 36 |
37 |
38 | 39 |
40 | 41 |
42 | 43 |
44 |
45 | 46 |
47 | 48 |
49 | 50 |
51 |
52 | 53 |
54 | 55 |
56 | 57 |
58 |
59 | 60 |
61 |
63 | Set location 64 |
65 | 66 |
68 | Open location 69 |
70 | 71 | 72 | Busy 74 | 75 | 76 |
77 |
78 | 79 |
80 |
81 |
82 | 92 | 101 |
102 |
103 | 104 |
106 | 107 | 108 | 109 | 110 | Discord 111 |
112 | 113 |
115 | 121 | SteamDB 122 |
123 | 124 |
126 | 128 | 131 | 132 | Donate 133 |
134 | 135 |
137 | 138 | 139 | 140 | 141 | Tutorial 142 |
143 |
144 | 145 |
146 | 165 | 166 | 176 | 177 | 178 | 188 | 189 | 197 |
198 |
199 | 200 |
201 |
202 |
203 | 204 | 205 |

Settings

206 |
207 |

Appearance

208 |
209 |
210 | 211 |
212 |
213 |
214 | 217 | 220 | 223 |
224 |
225 |
226 |
227 |

Output

228 |
229 |
230 |
231 | 232 |
233 |
234 |
235 | 239 | 242 |
243 |
244 | 247 |
248 |
249 |
250 |

Debugging

251 |
252 |
253 | 254 |
255 |
256 |
257 | 274 |
275 | found: none 276 |
default: none 277 |
278 |
279 |
280 |
281 |
282 |
283 |
284 | 285 | 286 | 287 | -------------------------------------------------------------------------------- /src/ts/main.ts: -------------------------------------------------------------------------------- 1 | import $ from "jquery"; 2 | import {invoke} from "@tauri-apps/api/core"; 3 | import {open as openDialog} from "@tauri-apps/plugin-dialog"; 4 | import {open as openShell} from "@tauri-apps/plugin-shell"; 5 | import {listen} from "@tauri-apps/api/event"; 6 | 7 | function setLoader(state: boolean) { 8 | $("#busy").prop("hidden", !state); 9 | } 10 | 11 | 12 | function setLoadingState(state: boolean) { 13 | $("#busy").prop("hidden", !state); 14 | 15 | // loop through all buttons and input fields and disable them 16 | for (const element of document.querySelectorAll("button, input")) { 17 | if (element.closest("#settings-content")) continue; 18 | (element as any).disabled = state; 19 | } 20 | 21 | // These elements need additional properties to be properly disabled 22 | $("#pickpath").prop("ariaDisabled", state); 23 | $("#downloadbtn").prop("ariaDisabled", state); 24 | 25 | // disable internet buttons 26 | for (const element of document.querySelectorAll("#internet-btns div")) { 27 | element.ariaDisabled = String(state); 28 | } 29 | } 30 | 31 | 32 | /// Returns list of IDs of invalid form fields 33 | const invalidFields = () => { 34 | const form = document.forms[0]; 35 | 36 | const invalidFields: string[] = []; 37 | for (const input of form) { 38 | const inputElement = input as HTMLInputElement; 39 | const valid = !(inputElement.value === "" && inputElement?.parentElement?.classList.contains("required")); 40 | if (!valid) { 41 | invalidFields.push(inputElement.id); 42 | } 43 | } 44 | // console.debug(`[${invalidFields.join(", ")}] fields invalid/empty`); 45 | 46 | return invalidFields; 47 | }; 48 | 49 | 50 | $(async () => { 51 | let terminalsCollected = false; 52 | let downloadDirectory: string | null; 53 | 54 | // Startup logic 55 | setLoadingState(true); 56 | 57 | await invoke("preload_vectum"); 58 | 59 | setLoadingState(false); 60 | 61 | 62 | // Collect the rest of the terminals in the background. 63 | if (!terminalsCollected) { 64 | setLoader(true); 65 | // @ts-ignore 66 | const terminals = await invoke("get_all_terminals") as string[]; 67 | for (const terminal in terminals) { 68 | console.log(terminal); 69 | } 70 | 71 | // Allow opening settings now that it is ready to be shown. 72 | $("#settings-button").prop("ariaDisabled", false); 73 | terminalsCollected = true; 74 | setLoader(false); 75 | } 76 | 77 | $("#pickpath").on("click", async () => { 78 | // Open a dialog 79 | downloadDirectory = await openDialog({ 80 | title: "Choose where to save the game download.", 81 | multiple: false, 82 | directory: true, 83 | canCreateDirectories: true 84 | }); 85 | 86 | if (downloadDirectory == null) { 87 | // user cancelled 88 | $("#checkpath").prop("ariaDisabled", true); 89 | $("#checkpath").prop("disabled", true); 90 | return; 91 | } 92 | 93 | $("#checkpath").prop("ariaDisabled", false); 94 | $("#checkpath").prop("disabled", false); 95 | $("#downloadbtn").prop("ariaDisabled", false); 96 | $("#nopathwarning").prop("hidden", true); 97 | 98 | 99 | console.log(downloadDirectory); 100 | }); 101 | 102 | $("#checkpath").on("click", async () => { 103 | console.log(`Checking path: ${downloadDirectory}`); 104 | 105 | if (downloadDirectory != null) { 106 | await openShell(downloadDirectory); 107 | } else { 108 | $("#checkpath").prop("ariaDisabled", true); 109 | } 110 | }); 111 | 112 | $("#downloadbtn").on("click", async () => { 113 | console.log("download button clicked"); 114 | 115 | if (invalidFields().length > 0) { 116 | // Loop through invalid fields. If there are any, make those "errored" and block the download button. 117 | for (const id of invalidFields()) { 118 | document.getElementById(id)?.parentElement?.classList.toggle("errored", true); 119 | } 120 | $("#emptywarning").prop("hidden", false); 121 | $("#downloadbtn").prop("ariaDisabled", true); 122 | return; 123 | } 124 | 125 | if (downloadDirectory == null) { 126 | $("#nopathwarning").prop("hidden", false); 127 | $("#downloadbtn").prop("ariaDisabled", true); 128 | return; 129 | } 130 | 131 | setLoadingState(true); 132 | $("#downloadingnotice").prop("hidden", false); 133 | $("#busy").prop("hidden", true); // Don't show the loader this time. 134 | 135 | const terminalChoice = (document.getElementById("terminal-dropdown") as HTMLSelectElement).selectedIndex; 136 | const directoryNameChoice = $("#folder-name-custom-input").val(); 137 | 138 | // Output path w/ directories chosen is: {downloadDirectory}/{directoryNameChoice} 139 | const vectumOptions = { 140 | terminal: terminalChoice == 13 ? null : terminalChoice, 141 | output_directory: downloadDirectory || null, // if not specified let backend choose a path. 142 | directory_name: directoryNameChoice || null, 143 | }; 144 | 145 | const steamDownload = { 146 | // String || null translate to Some(String) || None 147 | username: String($("#username").val()).trim() || null, 148 | password: String($("#password").val()).trim() || null, 149 | app_id: $("#appid").val(), 150 | depot_id: $("#depotid").val(), 151 | manifest_id: $("#manifestid").val(), 152 | options: vectumOptions 153 | }; 154 | 155 | // console.debug(steamDownload); 156 | await invoke("download_depotdownloader"); 157 | 158 | $("#downloadingnotice").prop("hidden", true); 159 | setLoadingState(false); 160 | 161 | console.debug("DepotDownloader download process completed. Starting game download..."); 162 | 163 | await invoke("start_download", {steamDownload: steamDownload}); 164 | console.log("Send frontend data over to backend. Ready for next download."); 165 | }); 166 | 167 | $("#settings-button").on("click", async () => { 168 | if (terminalsCollected) $("#settings-surrounding").css("display", "block"); 169 | }); 170 | 171 | $("#settings-surrounding").on("click", (event) => { 172 | if (event.target === document.getElementById("settings-surrounding")) { 173 | $("#settings-surrounding").css("display", "none"); 174 | 175 | } 176 | }); 177 | 178 | $("#opium-btn").on("click", () => { 179 | openShell("https://aphex.cc"); 180 | }); 181 | 182 | 183 | document.forms[0].addEventListener("input", (event) => { 184 | // Remove errored class. This is a bad way to do it, but it works for now. 185 | const target = event.target as HTMLElement; 186 | target?.parentElement?.classList.toggle("errored", false); 187 | 188 | // If there are no more invalid fields, hide the warning and enable the download button again 189 | if (invalidFields().length === 0) { 190 | $("#emptywarning").prop("hidden", true); 191 | $("#downloadbtn").prop("ariaDisabled", false); 192 | } 193 | }); 194 | }); 195 | 196 | 197 | let a = 0; 198 | // Each terminal that is installed gets received from rust with this event. 199 | listen<[number, number]>("working-terminal", (event) => { 200 | a++; 201 | console.log( 202 | `Terminal #${event.payload[0]} is installed. a = ${a}` 203 | ); 204 | const terminalSelection = (document.getElementById("terminal-dropdown") as HTMLSelectElement); 205 | 206 | // Enable the