Skip to content

Commit eecf485

Browse files
committed
style: changed executable name to avoid conflicts
1 parent 9ad1a88 commit eecf485

16 files changed

Lines changed: 70 additions & 70 deletions

File tree

.github/workflows/linux-tests.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ jobs:
2727
- name: Archive Executable
2828
uses: actions/upload-artifact@v4
2929
with:
30-
name: .pyguard-linux
31-
path: scr/.pyguard
30+
name: dotpyguard-linux
31+
path: scr/dotpyguard
3232

3333
obfuscation-multifile-linux:
3434
needs: ["build"]
@@ -50,20 +50,20 @@ jobs:
5050
- name: Download Executable
5151
uses: actions/download-artifact@v4
5252
with:
53-
name: .pyguard-linux
53+
name: dotpyguard-linux
5454
path: "examples"
5555

5656
- name: Preparation For Tests
5757
working-directory: examples
5858
run: |
59-
mv .pyguard multifile/
60-
chmod +x multifile/.pyguard
59+
mv dotpyguard multifile/
60+
chmod +x multifile/dotpyguard
6161
rm -rf multifile/obfuscated
6262
6363
- name: Obfuscation
6464
working-directory: examples/multifile
6565
run: |
66-
./.pyguard obfuscate --aes --hashdata --fernet --chacha --salsa --base64 --recursive 4 --follow-imports --no-input --files lib.py main.py
66+
./dotpyguard obfuscate --aes --hashdata --fernet --chacha --salsa --base64 --recursive 4 --follow-imports --no-input --files lib.py main.py
6767
6868
- name: Testing
6969
working-directory: examples/multifile/obfuscated
@@ -100,20 +100,20 @@ jobs:
100100
- name: Download Executable
101101
uses: actions/download-artifact@v4
102102
with:
103-
name: .pyguard-linux
103+
name: dotpyguard-linux
104104
path: "examples"
105105

106106
- name: Preparation For Tests
107107
working-directory: examples
108108
run: |
109-
mv .pyguard onefile/
110-
chmod +x onefile/.pyguard
109+
mv dotpyguard onefile/
110+
chmod +x onefile/dotpyguard
111111
rm -rf onefile/obfuscated
112112
113113
- name: Obfuscation
114114
working-directory: examples/onefile
115115
run: |
116-
./.pyguard obfuscate --aes --hashdata --fernet --chacha --salsa --base64 --recursive 4 --follow-imports --no-input main.py
116+
./dotpyguard obfuscate --aes --hashdata --fernet --chacha --salsa --base64 --recursive 4 --follow-imports --no-input main.py
117117
118118
- name: Testing
119119
working-directory: examples/onefile/obfuscated
@@ -150,20 +150,20 @@ jobs:
150150
- name: Download Executable
151151
uses: actions/download-artifact@v4
152152
with:
153-
name: .pyguard-linux
153+
name: dotpyguard-linux
154154
path: "examples"
155155

156156
- name: Preparation For Tests
157157
working-directory: examples
158158
run: |
159-
mv .pyguard multifile-legacy/
160-
chmod +x multifile-legacy/.pyguard
159+
mv dotpyguard multifile-legacy/
160+
chmod +x multifile-legacy/dotpyguard
161161
rm -rf multifile-legacy/obfuscated
162162
163163
- name: Obfuscation
164164
working-directory: examples/multifile-legacy
165165
run: |
166-
./.pyguard obfuscatelegacy --no-input --mode 4 --loops 6 --files lib.py,main.py
166+
./dotpyguard obfuscatelegacy --no-input --mode 4 --loops 6 --files lib.py,main.py
167167
168168
- name: Testing
169169
working-directory: examples/multifile-legacy/obfuscated
@@ -200,20 +200,20 @@ jobs:
200200
- name: Download Executable
201201
uses: actions/download-artifact@v4
202202
with:
203-
name: .pyguard-linux
203+
name: dotpyguard-linux
204204
path: "examples"
205205

206206
- name: Preparation For Tests
207207
working-directory: examples
208208
run: |
209-
mv .pyguard onefile-legacy/
210-
chmod +x onefile-legacy/.pyguard
209+
mv dotpyguard onefile-legacy/
210+
chmod +x onefile-legacy/dotpyguard
211211
rm -rf onefile-legacy/obfuscated
212212
213213
- name: Obfuscation
214214
working-directory: examples/onefile-legacy
215215
run: |
216-
./.pyguard obfuscatelegacy --no-input --mode 4 --loops 6 --files main.py
216+
./dotpyguard obfuscatelegacy --no-input --mode 4 --loops 6 --files main.py
217217
218218
- name: Testing
219219
working-directory: examples/onefile-legacy/obfuscated

.github/workflows/mac-tests.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ jobs:
2727
- name: Archive Executable
2828
uses: actions/upload-artifact@v4
2929
with:
30-
name: .pyguard-mac
31-
path: scr/.pyguard
30+
name: dotpyguard-mac
31+
path: scr/dotpyguard
3232

3333
obfuscation-multifile-macos:
3434
needs: ["build"]
@@ -50,20 +50,20 @@ jobs:
5050
- name: Download Executable
5151
uses: actions/download-artifact@v4
5252
with:
53-
name: .pyguard-mac
53+
name: dotpyguard-mac
5454
path: "examples"
5555

5656
- name: Preparation For Tests
5757
working-directory: examples
5858
run: |
59-
mv .pyguard multifile/
60-
chmod +x multifile/.pyguard
59+
mv dotpyguard multifile/
60+
chmod +x multifile/dotpyguard
6161
rm -rf multifile/obfuscated
6262
6363
- name: Obfuscation
6464
working-directory: examples/multifile
6565
run: |
66-
./.pyguard obfuscate --aes --hashdata --fernet --chacha --salsa --base64 --recursive 4 --follow-imports --no-input --files lib.py main.py
66+
./dotpyguard obfuscate --aes --hashdata --fernet --chacha --salsa --base64 --recursive 4 --follow-imports --no-input --files lib.py main.py
6767
6868
- name: Testing
6969
working-directory: examples/multifile/obfuscated
@@ -100,20 +100,20 @@ jobs:
100100
- name: Download Executable
101101
uses: actions/download-artifact@v4
102102
with:
103-
name: .pyguard-mac
103+
name: dotpyguard-mac
104104
path: "examples"
105105

106106
- name: Preparation For Tests
107107
working-directory: examples
108108
run: |
109-
mv .pyguard onefile/
110-
chmod +x onefile/.pyguard
109+
mv dotpyguard onefile/
110+
chmod +x onefile/dotpyguard
111111
rm -rf onefile/obfuscated
112112
113113
- name: Obfuscation
114114
working-directory: examples/onefile
115115
run: |
116-
./.pyguard obfuscate --aes --hashdata --fernet --chacha --salsa --base64 --recursive 4 --follow-imports --no-input main.py
116+
./dotpyguard obfuscate --aes --hashdata --fernet --chacha --salsa --base64 --recursive 4 --follow-imports --no-input main.py
117117
118118
- name: Testing
119119
working-directory: examples/onefile/obfuscated
@@ -150,20 +150,20 @@ jobs:
150150
- name: Download Executable
151151
uses: actions/download-artifact@v4
152152
with:
153-
name: .pyguard-mac
153+
name: dotpyguard-mac
154154
path: "examples"
155155

156156
- name: Preparation For Tests
157157
working-directory: examples
158158
run: |
159-
mv .pyguard multifile-legacy/
160-
chmod +x multifile-legacy/.pyguard
159+
mv dotpyguard multifile-legacy/
160+
chmod +x multifile-legacy/dotpyguard
161161
rm -rf multifile-legacy/obfuscated
162162
163163
- name: Obfuscation
164164
working-directory: examples/multifile-legacy
165165
run: |
166-
./.pyguard obfuscatelegacy --no-input --mode 4 --loops 6 --files lib.py,main.py
166+
./dotpyguard obfuscatelegacy --no-input --mode 4 --loops 6 --files lib.py,main.py
167167
168168
- name: Testing
169169
working-directory: examples/multifile-legacy/obfuscated
@@ -200,20 +200,20 @@ jobs:
200200
- name: Download Executable
201201
uses: actions/download-artifact@v4
202202
with:
203-
name: .pyguard-mac
203+
name: dotpyguard-mac
204204
path: "examples"
205205

206206
- name: Preparation For Tests
207207
working-directory: examples
208208
run: |
209-
mv .pyguard onefile-legacy/
210-
chmod +x onefile-legacy/.pyguard
209+
mv dotpyguard onefile-legacy/
210+
chmod +x onefile-legacy/dotpyguard
211211
rm -rf onefile-legacy/obfuscated
212212
213213
- name: Obfuscation
214214
working-directory: examples/onefile-legacy
215215
run: |
216-
./.pyguard obfuscatelegacy --no-input --mode 4 --loops 6 --files main.py
216+
./dotpyguard obfuscatelegacy --no-input --mode 4 --loops 6 --files main.py
217217
218218
- name: Testing
219219
working-directory: examples/onefile-legacy/obfuscated

.github/workflows/win-tests.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ jobs:
3131
- name: Archive Executable
3232
uses: actions/upload-artifact@v4
3333
with:
34-
name: .pyguard-win
35-
path: D:\a\.PyGuard\.PyGuard\scr\.pyguard.exe
34+
name: dotpyguard-win
35+
path: scr\dotpyguard.exe
3636

3737
obfuscation-multifile:
3838
needs: ["build"]
@@ -54,19 +54,19 @@ jobs:
5454
- name: Download Executable
5555
uses: actions/download-artifact@v4
5656
with:
57-
name: .pyguard-win
57+
name: dotpyguard-win
5858
path: "examples"
5959

6060
- name: Preparation For Tests
6161
working-directory: examples
6262
run: |
63-
move ".pyguard.exe" "multifile"
63+
move "dotpyguard.exe" "multifile"
6464
Remove-Item -Path "multifile\obfuscated" -Recurse -Force
6565
6666
- name: Obfuscation
6767
working-directory: examples\multifile
6868
run: |
69-
.\.pyguard.exe obfuscate --aes --hashdata --fernet --chacha --salsa --base64 --recursive 4 --follow-imports --no-input --files lib.py main.py
69+
.\dotpyguard.exe obfuscate --aes --hashdata --fernet --chacha --salsa --base64 --recursive 4 --follow-imports --no-input --files lib.py main.py
7070
7171
- name: Testing
7272
working-directory: examples\multifile\obfuscated
@@ -103,19 +103,19 @@ jobs:
103103
- name: Download Executable
104104
uses: actions/download-artifact@v4
105105
with:
106-
name: .pyguard-win
106+
name: dotpyguard-win
107107
path: "examples"
108108

109109
- name: Preparation For Tests
110110
working-directory: examples
111111
run: |
112-
move ".pyguard.exe" "onefile"
112+
move "dotpyguard.exe" "onefile"
113113
Remove-Item -Path "onefile\obfuscated" -Recurse -Force
114114
115115
- name: Obfuscation
116116
working-directory: examples\onefile
117117
run: |
118-
.\.pyguard.exe obfuscate --aes --hashdata --fernet --chacha --salsa --base64 --recursive 4 --follow-imports --no-input main.py
118+
.\dotpyguard.exe obfuscate --aes --hashdata --fernet --chacha --salsa --base64 --recursive 4 --follow-imports --no-input main.py
119119
120120
- name: Testing
121121
working-directory: examples\onefile\obfuscated
@@ -152,19 +152,19 @@ jobs:
152152
- name: Download Executable
153153
uses: actions/download-artifact@v4
154154
with:
155-
name: .pyguard-win
155+
name: dotpyguard-win
156156
path: "examples"
157157

158158
- name: Preparation For Tests
159159
working-directory: examples
160160
run: |
161-
move ".pyguard.exe" "multifile-legacy"
161+
move "dotpyguard.exe" "multifile-legacy"
162162
Remove-Item -Path "multifile-legacy\obfuscated" -Recurse -Force
163163
164164
- name: Obfuscation
165165
working-directory: examples\multifile-legacy
166166
run: |
167-
.\.pyguard obfuscatelegacy --no-input --mode 3 --loops 6 --files lib.py,main.py
167+
.\dotpyguard obfuscatelegacy --no-input --mode 3 --loops 6 --files lib.py,main.py
168168
169169
- name: Testing
170170
working-directory: examples\multifile-legacy\obfuscated
@@ -201,19 +201,19 @@ jobs:
201201
- name: Download Executable
202202
uses: actions/download-artifact@v4
203203
with:
204-
name: .pyguard-win
204+
name: dotpyguard-win
205205
path: "examples"
206206

207207
- name: Preparation For Tests
208208
working-directory: examples
209209
run: |
210-
move ".pyguard.exe" "onefile-legacy"
210+
move "dotpyguard.exe" "onefile-legacy"
211211
Remove-Item -Path "onefile-legacy\obfuscated" -Recurse -Force
212212
213213
- name: Obfuscation
214214
working-directory: examples\onefile-legacy
215215
run: |
216-
.\.pyguard obfuscatelegacy --no-input --mode 4 --loops 6 --files main.py
216+
.\dotpyguard obfuscatelegacy --no-input --mode 4 --loops 6 --files main.py
217217
218218
- name: Testing
219219
working-directory: examples\onefile-legacy\obfuscated

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@ Tool/Library for Python used to obfuscate and protect your code in static and ru
7070
```
7171
3. Usage info
7272
```
73-
.pyguard --help
73+
dotpyguard --help
7474
```
7575
4. Example
7676
```
77-
.pyguard obfuscate --hashdata --aes --chacha --follow-imports main.py
77+
dotpyguard obfuscate --hashdata --aes --chacha --follow-imports main.py
7878
```
7979
5. Output
8080
```
@@ -84,7 +84,7 @@ Tool/Library for Python used to obfuscate and protect your code in static and ru
8484
```
8585
6. Example legacy
8686
```
87-
.pyguard obfuscatelegacy --loops 3 --mode 2 --file code.py
87+
dotpyguard obfuscatelegacy --loops 3 --mode 2 --file code.py
8888
```
8989
7. Output legacy
9090
```
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
.pyguard obfuscatelegacy --no-input --mode 3 --loops 6 --files main.py,lib.py
1+
dotpyguard obfuscatelegacy --no-input --mode 3 --loops 6 --files main.py,lib.py
22
pause null

examples/multifile/obfuscate.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
.pyguard obfuscate --aes --hashdata --fernet --chacha --salsa --base64 --recursive 4 --no-input --files lib.py main.py
1+
dotpyguard obfuscate --aes --hashdata --fernet --chacha --salsa --base64 --recursive 4 --no-input --files lib.py main.py
22
pause null
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
.pyguard obfuscatelegacy --no-input --mode 3 --loops 6 --files main.py
1+
dotpyguard obfuscatelegacy --no-input --mode 3 --loops 6 --files main.py
22
pause null

examples/onefile/obfuscate.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
.pyguard obfuscate --aes --hashdata --fernet --chacha --salsa --base64 --recursive 4 --no-input main.py
1+
dotpyguard obfuscate --aes --hashdata --fernet --chacha --salsa --base64 --recursive 4 --no-input main.py
22
pause null

scr/build-linux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ python -m nuitka \
55
--remove-output \
66
--onefile \
77
--assume-yes-for-downloads \
8-
--output-filename=.pyguard \
8+
--output-filename=dotpyguard \
99
--linux-icon=../assets/icon.png \
1010
--include-package=commands \
1111
--follow-import-to=commands \

scr/build-mac.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ python -m nuitka \
55
--remove-output \
66
--onefile \
77
--assume-yes-for-downloads \
8-
--output-filename=.pyguard \
8+
--output-filename=dotpyguard \
99
--include-package=commands \
1010
--follow-import-to=commands \
1111
--include-data-files=commands/obfuscation/obfuscate.py=commands/obfuscation/obfuscate.py \

0 commit comments

Comments
 (0)