Skip to content

Commit 8b8fdf0

Browse files
committed
fix(rebrand): Cyanite
1 parent 6cc230b commit 8b8fdf0

File tree

20 files changed

+117
-126
lines changed

20 files changed

+117
-126
lines changed
Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
1-
name: Build and Release Syra
1+
name: Build and Release Cyanite
22

33
on:
44
workflow_dispatch:
55
push:
66
tags:
7-
- 'v*' # Trigger this action on new tags (for example, v1.0.0)
7+
- 'v*' # Trigger this action on new tags (e.g., v1.0.0)
88

99
jobs:
1010
build:
11+
defaults:
12+
run:
13+
shell: bash
14+
working-directory: ./server
1115
runs-on: windows-latest
1216

1317
steps:
@@ -21,35 +25,35 @@ jobs:
2125

2226
- name: Install MinGW (GCC)
2327
run: |
24-
choco install mingw
28+
choco install mingw -y
2529
2630
- name: Build Go Application
2731
run: |
28-
go build -ldflags="-H windowsgui" -o installer/syra.exe
32+
mkdir -p installer
33+
go build -ldflags="-H windowsgui" -o installer/cyanite.exe
2934
3035
- name: Set up Inno Setup
3136
run: |
32-
choco install innosetup
37+
choco install innosetup -y
3338
3439
- name: Set Version in Inno Setup Script
3540
run: |
3641
cd installer
37-
# Get version from Git tag (e.g., v1.0.0)
38-
VERSION=$(echo ${GITHUB_REF} | sed 's/refs\/tags\///')
39-
# Replace {#AppVersion} with the version from Git tag
42+
# Extract version from GitHub ref (refs/tags/v1.0.0 -> 1.0.0)
43+
VERSION=$(echo "${GITHUB_REF}" | sed -e 's|refs/tags/||' -e 's|v||')
4044
sed -i "s/{#AppVersion}/$VERSION/" setup.iss
4145
echo "Version set to: $VERSION"
4246
4347
- name: Create Installer with Inno Setup
4448
run: |
4549
cd installer
46-
inno_setup_compiler "setup.iss" # Make sure setup.iss is in the root of your repository
50+
"C:\Program Files (x86)\Inno Setup 6\ISCC.exe" setup.iss
4751
4852
- name: Upload Installer as Artifact
4953
uses: actions/upload-artifact@v4
5054
with:
51-
name: SyraInstaller
52-
path: installer/Output/Syra-Win64-Setup.exe
55+
name: CyaniteInstaller
56+
path: installer/Output/Cyanite-Win64-Setup.exe
5357

5458
release:
5559
needs: build
@@ -61,19 +65,19 @@ jobs:
6165

6266
- name: Generate Changelog
6367
run: |
64-
VERSION=$(echo ${GITHUB_REF} | sed 's/refs\/tags\///')
65-
PREVIOUS_VERSION=$(git describe --tags --abbrev=0 ${GITHUB_SHA}^)
66-
CHANGELOG=$(git log --oneline ${PREVIOUS_VERSION}..${GITHUB_SHA})
68+
VERSION=$(echo "${GITHUB_REF}" | sed -e 's|refs/tags/||')
69+
PREVIOUS_VERSION=$(git describe --tags --abbrev=0 "${GITHUB_SHA}^")
70+
CHANGELOG=$(git log --oneline "${PREVIOUS_VERSION}..${GITHUB_SHA}")
6771
echo "Changelog generated for version $VERSION:" > changelog.txt
6872
echo "$CHANGELOG" >> changelog.txt
6973
cat changelog.txt
7074
7175
- name: Create GitHub Release (Draft)
7276
uses: softprops/action-gh-release@v2
7377
with:
74-
files: installer/Output/Syra-Win64-Setup.exe
78+
files: installer/Output/Cyanite-Win64-Setup.exe
7579
body: |
7680
$(cat changelog.txt)
77-
draft: true # Make the release a draft
81+
draft: true
7882
env:
7983
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

README.md

Lines changed: 3 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<div align="center">
2-
<img src="assets\syra_transparent.png" width="400" />
3-
<h2>Syra Desktop</h2>
2+
<img src="assets\cyanite.png" width="400" />
3+
<h2>Cyanite</h2>
44
</div>
55

66
## Project Overview
77

8-
Syra Desktop is a lightweight background client that allows seamless communication between your desktop and mobile devices. It integrates functionalities such as controlling the desktop remotely, checking mobile connection status, and setting a secret code for secure interaction.
8+
Cyanite is a lightweight background client that allows seamless communication between your desktop and mobile devices. It integrates functionalities such as controlling the desktop remotely, checking mobile connection status, and setting a secret code for secure interaction.
99

1010
## Features
1111

@@ -14,39 +14,6 @@ Syra Desktop is a lightweight background client that allows seamless communicati
1414
- **Secret Code**: Generates a random secret code for secure interaction, which can be reset at any time.
1515
- **System Tray Icon**: Provides a system tray icon with options for managing mobile connections, secret codes, and more.
1616

17-
## Installation
18-
19-
To set up the Syra Desktop client, follow these steps:
20-
21-
1. **Clone the repository**:
22-
23-
```bash
24-
git clone https://github.com/<your-username>/syra-server.git
25-
cd syra-server
26-
```
27-
28-
2. **Build the project**:
29-
30-
If you haven't already, you'll need Go installed on your system. You can download it from [here](https://golang.org/dl/).
31-
32-
Once you have Go set up, you can build the project using the following command:
33-
34-
```bash
35-
go build
36-
```
37-
38-
3. **Run the application**:
39-
40-
After building the project, run the compiled executable:
41-
42-
```bash
43-
./syra-server
44-
```
45-
46-
4. **System Tray**:
47-
48-
Upon running, syra Desktop will minimize to the system tray. You can interact with it through the tray icon.
49-
5017
## TODO
5118

5219
- [ ] Implement mobile-to-desktop communication

assets/cyanite.png

105 KB
Loading

assets/syra.ico

-201 KB
Binary file not shown.

assets/syra.jpg

-48.8 KB
Binary file not shown.

assets/syra_transparent.png

-419 KB
Binary file not shown.

installer/setup.iss

Lines changed: 0 additions & 24 deletions
This file was deleted.

internal/utils/utils.go

Lines changed: 0 additions & 18 deletions
This file was deleted.

server/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*.exe
2+
_data/
3+
*.log

server/assets/cyanite.ico

229 KB
Binary file not shown.

0 commit comments

Comments
 (0)