Skip to content

Commit 1a44fd4

Browse files
committed
Hello There
0 parents  commit 1a44fd4

111 files changed

Lines changed: 30590 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/release.yml

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
name: Release
2+
on:
3+
push:
4+
tags:
5+
- 'v*'
6+
workflow_dispatch:
7+
8+
jobs:
9+
release:
10+
permissions:
11+
contents: write
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
platform: [macos-latest, ubuntu-22.04, windows-latest]
16+
runs-on: ${{ matrix.platform }}
17+
steps:
18+
- uses: actions/checkout@v4
19+
- name: setup node
20+
uses: actions/setup-node@v4
21+
with:
22+
node-version: 20
23+
- name: install Rust stable
24+
uses: dtolnay/rust-toolchain@stable
25+
with:
26+
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
27+
- name: install dependencies (ubuntu only)
28+
if: matrix.platform == 'ubuntu-22.04'
29+
run: |
30+
sudo apt-get update
31+
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
32+
- name: install frontend dependencies
33+
run: npm install
34+
working-directory: ./client
35+
- uses: tauri-apps/tauri-action@v0
36+
env:
37+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38+
with:
39+
tagName: v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version
40+
releaseName: 'CandyConnect VPN v__VERSION__'
41+
releaseBody: 'See the assets to download this version and install.'
42+
releaseDraft: true
43+
prerelease: false
44+
projectPath: ./client
45+
46+
# Mobile build job - simplified for now as it requires signing keys
47+
# This serves as a template for mobile builds
48+
mobile-android:
49+
runs-on: ubuntu-latest
50+
steps:
51+
- uses: actions/checkout@v4
52+
- uses: actions/setup-node@v4
53+
with:
54+
node-version: 20
55+
- name: install Rust stable
56+
uses: dtolnay/rust-toolchain@stable
57+
with:
58+
targets: aarch64-linux-android armv7-linux-androideabi i686-linux-android x86_64-linux-android
59+
- name: Setup Java
60+
uses: actions/setup-java@v4
61+
with:
62+
distribution: 'zulu'
63+
java-version: '17'
64+
- name: Setup Android SDK
65+
uses: android-actions/setup-android@v3
66+
- name: install frontend dependencies
67+
run: npm install
68+
working-directory: ./client
69+
- name: Build Android
70+
run: |
71+
npm run tauri android init
72+
npm run tauri android build
73+
working-directory: ./client
74+
env:
75+
NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}
76+

.gitignore

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
# ═══════════════════════════════════════
2+
# CandyConnect - Root .gitignore
3+
# ═══════════════════════════════════════
4+
5+
# ── Dependencies ──
6+
node_modules/
7+
__pycache__/
8+
*.pyc
9+
*.pyo
10+
.venv/
11+
venv/
12+
*.egg-info/
13+
14+
# ── Build Output ──
15+
dist/
16+
dist-ssr/
17+
build/
18+
*.local
19+
20+
# ── Tauri / Rust ──
21+
client/src-tauri/target/
22+
client/src-tauri/gen/schemas/
23+
24+
# ── Server ──
25+
server/venv/
26+
server/*.pyc
27+
server/__pycache__/
28+
29+
# ── Environment & Secrets ──
30+
.env
31+
.env.*
32+
!.env.example
33+
34+
# ── Logs ──
35+
logs/
36+
*.log
37+
npm-debug.log*
38+
yarn-debug.log*
39+
pnpm-debug.log*
40+
41+
# ── OS Files ──
42+
.DS_Store
43+
Thumbs.db
44+
Desktop.ini
45+
ehthumbs.db
46+
47+
# ── Editor / IDE ──
48+
.vscode/*
49+
!.vscode/extensions.json
50+
!.vscode/settings.json
51+
.idea/
52+
*.suo
53+
*.ntvs*
54+
*.njsproj
55+
*.sln
56+
*.sw?
57+
*.swp
58+
*~
59+
60+
# ── Package Managers ──
61+
*.tgz
62+
.yarn/
63+
.pnp.*
64+
65+
# ── Redis ──
66+
dump.rdb
67+
68+
# ── Backups (deployed server) ──
69+
/opt/candyconnect/
70+
71+
# ── Misc ──
72+
*.bak
73+
*.tmp
74+
*.orig
75+
coverage/
76+
.cache/

0 commit comments

Comments
 (0)