File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3333 name : sar-linux
3434 path : sar.so
3535 if-no-files-found : error
36- - name : Upload to dl.sar .portal2.sr
36+ - name : Upload to sardl .portal2.sr
3737 if : github.repository_owner == 'p2sr'
3838 env :
3939 DL_SAR_API_TOKEN : ${{ secrets.DL_SAR_API_TOKEN }}
5050 -F "count=1" \
5151 -F "hashes[0]=$(sha256sum sar.so | cut -d ' ' -f 1)" \
5252 -F "files[0]=@sar.so" \
53- "https://dl.sar. portal2.jonesy.moe /api/v1/upload"
53+ "https://sardl. portal2.sr /api/v1/upload"
5454 build-win :
5555 name : Windows Build
5656 runs-on : windows-2022
8282 name : sar-windows-pdb
8383 path : bin\sar.pdb
8484 if-no-files-found : error
85- - name : Upload to dl.sar .portal2.sr
85+ - name : Upload to sardl .portal2.sr
8686 if : github.repository_owner == 'p2sr'
8787 shell : bash
8888 env :
@@ -102,7 +102,7 @@ jobs:
102102 -F "hashes[1]=$(sha256sum bin/sar.pdb | cut -d ' ' -f 1)" \
103103 -F "files[0]=@bin/sar.dll" \
104104 -F "files[1]=@bin/sar.pdb" \
105- "https://dl.sar. portal2.jonesy.moe /api/v1/upload"
105+ "https://sardl. portal2.sr /api/v1/upload"
106106 release :
107107 name : Release
108108 if : github.repository == 'p2sr/SourceAutoRecord'
Original file line number Diff line number Diff line change 4646 name : sar-linux
4747 path : sar.so
4848 if-no-files-found : error
49- - name : Upload to dl.sar .portal2.sr
49+ - name : Upload to sardl .portal2.sr
5050 if : github.ref == 'refs/heads/master' && github.repository_owner == 'p2sr'
5151 env :
5252 DL_SAR_API_TOKEN : ${{ secrets.DL_SAR_API_TOKEN }}
6363 -F "count=1" \
6464 -F "hashes[0]=$(sha256sum sar.so | cut -d ' ' -f 1)" \
6565 -F "files[0]=@sar.so" \
66- "https://dl.sar. portal2.jonesy.moe /api/v1/upload"
66+ "https://sardl. portal2.sr /api/v1/upload"
6767
6868 build-win :
6969 name : Windows Build
9191 bin\sar.dll
9292 bin\sar.pdb
9393 if-no-files-found : error
94- - name : Upload to dl.sar .portal2.sr
94+ - name : Upload to sardl .portal2.sr
9595 if : github.ref == 'refs/heads/master' && github.repository_owner == 'p2sr'
9696 shell : bash
9797 env :
@@ -111,4 +111,4 @@ jobs:
111111 -F "hashes[1]=$(sha256sum bin/sar.pdb | cut -d ' ' -f 1)" \
112112 -F "files[0]=@bin/sar.dll" \
113113 -F "files[1]=@bin/sar.pdb" \
114- "https://dl.sar. portal2.jonesy.moe /api/v1/upload"
114+ "https://sardl. portal2.sr /api/v1/upload"
Original file line number Diff line number Diff line change @@ -438,7 +438,11 @@ void AutoSubmit::LoadApiKey(bool output_nonexist) {
438438 while (!f.eof ()) {
439439 std::getline (f, base) && std::getline (f, key);
440440 if (sar.game ->Is (SourceGame_Portal2) && base == " board.portal2.sr" ) break ;
441- if (sar.game ->Is (SourceGame_PortalStoriesMel) && base == " mel.board.portal2.sr" ) break ;
441+ if (sar.game ->Is (SourceGame_PortalStoriesMel) && base == " melboard.portal2.sr" ) break ;
442+ if (sar.game ->Is (SourceGame_PortalStoriesMel) && base == " mel.board.portal2.sr" ) {
443+ base = " melboard.portal2.sr" ;
444+ break ;
445+ }
442446 /* if we got here, no valid key */
443447 base.clear ();
444448 key.clear ();
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ struct SarVersion {
3838 bool canary;
3939};
4040
41- #define DL_SAR_HOST " https://dl.sar .portal2.sr"
41+ #define DL_SAR_HOST " https://sardl .portal2.sr"
4242
4343static std::optional<SarVersion> getVersionComponents (const char *str) {
4444 SarVersion v = {0 , 0 , false };
You can’t perform that action at this time.
0 commit comments