-
Notifications
You must be signed in to change notification settings - Fork 470
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
actions: shuffle gam.exe after we download signed.
- Loading branch information
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -646,9 +646,6 @@ jobs: | |
$gam user [email protected] add drivefile localfile "$gam" parentid "$folder_id" | ||
$gam user [email protected] update drivefile "$folder_id" newfilename "READYTOSIGN ${folder_number}" | ||
export signed_folder="SIGNED ${folder_number}" | ||
# remove unsigned gam.exe so we can overwrite and we fail | ||
# if we fail to get the signed gam.exe | ||
rm -v -f "${gampath}/gam.exe" | ||
zero_results="[email protected],0" | ||
while true; do | ||
result_counts=$($gam user gam-win-signer print filelist query "name = '${signed_folder}' and '1Xz3hYq4Mfa_r6D8EcBZHLDtHDFurYSvp' in parents and mimeType = 'application/vnd.google-apps.folder'" countsonly) | ||
|
@@ -660,7 +657,10 @@ jobs: | |
echo "no results, sleeping 10..." | ||
sleep 10 | ||
done | ||
$gam user gam-win-signer print filelist query "name = '${signed_folder}' and '1Xz3hYq4Mfa_r6D8EcBZHLDtHDFurYSvp' in parents and mimeType = 'application/vnd.google-apps.folder'" id | $gam csv - gam user [email protected] print filelist query "'~~id~~' in parents and name = 'gam.exe'" id | $gam csv - gam user [email protected] get drivefile ~id targetfolder "$gampath" targetname "gam.exe" overwrite true acknowledgeabuse true | ||
$gam user gam-win-signer print filelist query "name = '${signed_folder}' and '1Xz3hYq4Mfa_r6D8EcBZHLDtHDFurYSvp' in parents and mimeType = 'application/vnd.google-apps.folder'" id | $gam csv - gam user [email protected] print filelist query "'~~id~~' in parents and name = 'gam.exe'" id | $gam csv - gam user [email protected] get drivefile ~id targetfolder "$gampath" targetname "signed-gam.exe" overwrite true acknowledgeabuse true | ||
# remove unsigned gam.exe and rename signed-gam.exe | ||
rm -v -f "${gampath}/gam.exe" | ||
mv -v -f "${gampath}/signed-gam.exe" "${gampath}/gam.exe" | ||
ls -l "/c/Program Files (x86)/" | ||
ls -l "/c/Program Files (x86)/Windows Kits/" | ||
ls -l "/c/Program Files (x86)/Windows Kits/10" | ||
|