Compare commits
No commits in common. "9ecabfb77878364cda1422e95857acac4b8297ce" and "ee0e40319593d341b7860be5ae4c307099db1a7c" have entirely different histories.
9ecabfb778
...
ee0e403195
48
.github/workflows/build.yml
vendored
48
.github/workflows/build.yml
vendored
@ -1,48 +0,0 @@
|
|||||||
name: Build & Release
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
tags:
|
|
||||||
- 'v*'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
include:
|
|
||||||
- os: windows-latest
|
|
||||||
target: x86_64-pc-windows-msvc
|
|
||||||
- os: ubuntu-22.04
|
|
||||||
target: x86_64-unknown-linux-gnu
|
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- uses: actions/setup-node@v4
|
|
||||||
with:
|
|
||||||
node-version: 20
|
|
||||||
|
|
||||||
- uses: dtolnay/rust-toolchain@stable
|
|
||||||
with:
|
|
||||||
targets: ${{ matrix.target }}
|
|
||||||
|
|
||||||
- name: Install Linux dependencies
|
|
||||||
if: matrix.os == 'ubuntu-22.04'
|
|
||||||
run: |
|
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install -y libwebkit2gtk-4.1-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev
|
|
||||||
|
|
||||||
- run: npm install
|
|
||||||
|
|
||||||
- uses: tauri-apps/tauri-action@v0
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
|
|
||||||
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
|
|
||||||
with:
|
|
||||||
tagName: ${{ github.ref_name }}
|
|
||||||
releaseName: RLidentity ${{ github.ref_name }}
|
|
||||||
releaseBody: ${{ github.ref_name }}
|
|
||||||
releaseDraft: false
|
|
||||||
@ -32,7 +32,7 @@
|
|||||||
"endpoints": [
|
"endpoints": [
|
||||||
"https://api.rlidentity.me/version"
|
"https://api.rlidentity.me/version"
|
||||||
],
|
],
|
||||||
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEY5QkIxRTlEOEVENDRCNDcKUldSSFM5U09uUjY3K1VzZUg1ek52bnNuTmZDckhsN3k3WHlEMXhMTUFYSC9HUnlxL1ZYekhFU28K"
|
"pubkey": "DWY+YmX5uY2E3N0N3Q0N3Q0N3Q0N3Q0N3Q0N3Q0N3Q0N3Q=="
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"bundle": {
|
"bundle": {
|
||||||
|
|||||||
16
src/App.tsx
16
src/App.tsx
@ -26,15 +26,15 @@ interface KeyValidationResponse {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const LS_KEYS = {
|
const LS_KEYS = {
|
||||||
spoofed: "rlidentity.spoofedUsername",
|
spoofed: "neonGlass.spoofedUsername",
|
||||||
apiKey: "rlidentity.apiKey",
|
apiKey: "neonGlass.apiKey",
|
||||||
minimizeToTray: "rlidentity.minimizeToTray",
|
minimizeToTray: "neonGlass.minimizeToTray",
|
||||||
platform: "rlidentity.platform",
|
platform: "neonGlass.platform",
|
||||||
autoInject: "rlidentity.autoInject",
|
autoInject: "neonGlass.autoInject",
|
||||||
} as const;
|
} as const;
|
||||||
|
|
||||||
const GITHUB_URL = "https://git.rlidentity.me/bits/rlidentity";
|
const GITHUB_URL = "https://github.com/RLidentity";
|
||||||
const FAQ_URL = "https://rlidentity.me/#faq";
|
const FAQ_URL = "https://rlidentity.me/faq";
|
||||||
|
|
||||||
function isTauriRuntime() {
|
function isTauriRuntime() {
|
||||||
return typeof window !== "undefined" && typeof (window as any).__TAURI_INTERNALS__ !== "undefined";
|
return typeof window !== "undefined" && typeof (window as any).__TAURI_INTERNALS__ !== "undefined";
|
||||||
@ -200,7 +200,7 @@ export default function App() {
|
|||||||
setStatus("validating key...");
|
setStatus("validating key...");
|
||||||
setIsRevoked(false);
|
setIsRevoked(false);
|
||||||
try {
|
try {
|
||||||
const hwid = await tryInvoke<string>("get_hwid") || "UNKNOWN-HWID";
|
const hwid = await tryInvoke<string>("get_hwid") || "UNKNOWN";
|
||||||
const res = await tryInvoke<KeyValidationResponse>("validate_key", { key: keyToTry.trim(), hwid });
|
const res = await tryInvoke<KeyValidationResponse>("validate_key", { key: keyToTry.trim(), hwid });
|
||||||
|
|
||||||
if (res && res.status === "valid") {
|
if (res && res.status === "valid") {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user