Skip to content

Commit 0b26115

Browse files
committed
chore: Update VALORANT Karmalocker build process
This commit updates the build process for VALORANT Karmalocker by modifying the `build.py` file. The name of the built executable is changed from "VALORANT Instalocker" to "VALORANT Karmalocker" to match the project name. This change ensures consistency and clarity in the build output.
1 parent 892f62f commit 0b26115

File tree

4 files changed

+48
-9
lines changed

4 files changed

+48
-9
lines changed

VALORANT Karmalocker.spec

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# -*- mode: python ; coding: utf-8 -*-
2+
3+
4+
a = Analysis(
5+
['main.py'],
6+
pathex=['./venv/Lib/site-packages'],
7+
binaries=[],
8+
datas=[('C:\\Users\\Karma\\AppData\\Roaming\\Python\\Python311\\site-packages\\eel\\eel.js', 'eel'), ('web', 'web')],
9+
hiddenimports=['bottle_websocket'],
10+
hookspath=[],
11+
hooksconfig={},
12+
runtime_hooks=[],
13+
excludes=[],
14+
noarchive=False,
15+
optimize=0,
16+
)
17+
pyz = PYZ(a.pure)
18+
19+
exe = EXE(
20+
pyz,
21+
a.scripts,
22+
a.binaries,
23+
a.datas,
24+
[],
25+
name='VALORANT Karmalocker',
26+
debug=False,
27+
bootloader_ignore_signals=False,
28+
strip=False,
29+
upx=True,
30+
upx_exclude=[],
31+
runtime_tmpdir=None,
32+
console=False,
33+
disable_windowed_traceback=False,
34+
argv_emulation=False,
35+
target_arch=None,
36+
codesign_identity=None,
37+
entitlements_file=None,
38+
icon=['web\\favicon.ico'],
39+
)

install_and_build/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
import os
2-
os.system('cd .. && python -m eel main.py web --onefile --noconsole --icon=./web/favicon.ico --name="VALORANT Instalocker" --paths ./venv/Lib/site-packages')
2+
os.system('cd .. && python -m eel main.py web --onefile --noconsole --icon=./web/favicon.ico --name="VALORANT Karmalocker" --paths ./venv/Lib/site-packages')
33
print("Finished build process")

web/css/index.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ body {
7373
filter: drop-shadow(0px 0px 0.4vw rgba(255, 255, 255, 0.8));
7474
margin-bottom: 2vw;
7575
margin-top: 2vw
76-
76+
7777
}
7878

7979
.icon {
@@ -93,7 +93,7 @@ body {
9393
{
9494
width: 10px;
9595
background-color: rgb(15, 14, 17);
96-
96+
9797
}
9898

9999
#agents::-webkit-scrollbar-thumb

web/js/index.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function fillAgentList() {
1717
fetch("./json/agents.json")
1818
.then((response) => response.json())
1919
.then((agentJSON) => {
20-
20+
2121
let agents = Object.keys( agentJSON );
2222

2323
for (const agent of agents) {
@@ -27,11 +27,11 @@ function fillAgentList() {
2727
agent_div.id = agent;
2828

2929
agent_div.setAttribute('onclick', `pickAgent('${agent}')`);
30-
30+
3131
let agent_div_thumbnail = document.createElement("img");
3232
agent_div_thumbnail.className = "agent-thumb";
3333
agent_div_thumbnail.src = `./assets/images/agent-banners/${ agent.toLowerCase() }.png`;
34-
34+
3535
let agent_div_name = document.createElement("p");
3636
agent_div_name.innerText = agent;
3737

@@ -55,15 +55,15 @@ function alertUser(statusText = '', chosenAgentText = '') {
5555
agent_preview.src ='./assets/images/slurp.gif';
5656
status.innerText = statusText;
5757
chosenAgent.innerText = chosenAgentText;
58-
58+
5959
}
6060

6161
function askUserToChooseAgent() {
6262

6363
let status = document.getElementById('status');
6464
let chosenAgent = document.getElementById('chosen-agent');
6565
let agent_preview = document.getElementById('agent-preview');
66-
66+
6767
agent_preview.src ='./assets/images/slurp.gif';
6868
status.innerText = "CHOOSE AN AGENT";
6969
chosenAgent.innerText = "..."
@@ -89,7 +89,7 @@ function initiateSkewScroll() {
8989
if (speed > 10) speed = 10;
9090
if (speed < -10) speed = -10;
9191
section.style.transform = `skewY(${ speed }deg)`;
92-
92+
9393
currentPos = newPos;
9494
requestAnimationFrame(update);
9595
}

0 commit comments

Comments
 (0)