feat: sar_download_file <url> <filepath> [directory]#131
Draft
ThisAMJ wants to merge 1 commit intop2sr:masterfrom
Draft
feat: sar_download_file <url> <filepath> [directory]#131ThisAMJ wants to merge 1 commit intop2sr:masterfrom
sar_download_file <url> <filepath> [directory]#131ThisAMJ wants to merge 1 commit intop2sr:masterfrom
Conversation
Member
|
I'm going to give this a bit more thought before merging, so don't think I'm ignoring it |
c972472 to
7d87341
Compare
Member
|
Blocked by #187 |
This could potentially be unsafe, but it could also automate srconfigs updates, challenge_maplist, fast taunts, containerridesave, vaultsave, tram save, etc. Just be careful with usage, it overwrites! Smartly reads through game directories for existing file to overwrite (even p2common), falls back to main game directory i.e. portal2 / portalreloaded / whatever if file doesn't exist. also fixed a bug with createTempPath -- instead of creating tmp_0_1_2 now it creates tmp_2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This could potentially be unsafe, but it could also automate srconfigs updates, challenge_maplist, fast taunts, containerridesave, vault save, tram save, etc. Just be careful with usage, it overwrites!
Smartly looks through game directories for existing file to overwrite (even p2common), falls back to main game directory i.e. portal2 / portalreloaded / whatever if file doesn't exist.