Skip to content

Commit e132a38

Browse files
committed
chore: add stacksjs/action-releaser
1 parent 046f4d6 commit e132a38

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
4141

4242
- name: Attach Binaries
43-
uses: softprops/action-gh-release@v2
43+
uses: stacksjs/action-[email protected]
4444
with:
4545
files: |
4646
bin/aax-linux-x64.zip

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"zip:linux-arm64": "zip -j bin/aax-linux-arm64.zip bin/aax-linux-arm64",
5656
"zip:windows-x64": "zip -j bin/aax-windows-x64.zip bin/aax-windows-x64.exe",
5757
"zip:darwin-x64": "zip -j bin/aax-darwin-x64.zip bin/aax-darwin-x64",
58-
"zip:darwin-arm64": "zip -j bin/aax-darwin-arm64.zip bin/aax-darwin-arm64",
58+
"zip:darwin-arm64": "zip -j bin/aax-darwin-arm64.zip bin/aax-darwin-arm64"
5959
},
6060
"devDependencies": {
6161
"@stacksjs/clarity": "^0.3.14",

src/utils/activation.ts

+8-7
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,17 @@ const ACTIVATION_LOCATIONS = {
2626

2727
// A collection of known activation codes that work for many AAX files
2828
// These are publicly available and widely used for research purposes
29+
2930
const KNOWN_ACTIVATION_CODES = [
30-
'1CEB00DA', // Common code that works for many files, try this first for our specific test fixture
31-
'4F087621', // Alternative code
32-
'7B95D5DA', // Alternative code
33-
'A9EDBB73', // Additional code
34-
'9A1DC7AE', // This one didn't work for our test fixture, try it last
35-
]
31+
'1CEB00DA',
32+
'4F087621',
33+
'7B95D5DA',
34+
'A9EDBB73',
35+
'9A1DC7AE',
36+
] as const
3637

3738
// Cache file for activation codes
38-
const ACTIVATION_CACHE_FILE = path.join(homedir(), '.aax-activation-cache.json')
39+
const ACTIVATION_CACHE_FILE: string = path.join(homedir(), '.aax-activation-cache.json')
3940

4041
/**
4142
* Try to find the Audible activation code from known locations

0 commit comments

Comments
 (0)