Compare commits

...

59 Commits

Author SHA1 Message Date
Krishan
c8399677b5 v2.0.4 2022-05-29 11:03:17 +05:30
Krishan
e7e7a31daa Fix drag-n-drop not working 2022-05-28 21:14:35 +05:30
dependabot[bot]
1389a41ec4 Bump tauri-build from 1.0.0-rc.11 to 1.0.0-rc.12 in /src-tauri (#23)
Bumps [tauri-build](https://github.com/tauri-apps/tauri) from 1.0.0-rc.11 to 1.0.0-rc.12.
- [Release notes](https://github.com/tauri-apps/tauri/releases)
- [Commits](https://github.com/tauri-apps/tauri/compare/tauri-build-v1.0.0-rc.11...tauri-build-v1.0.0-rc.12)

---
updated-dependencies:
- dependency-name: tauri-build
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-28 12:38:25 +05:30
dependabot[bot]
065fcdc56c Bump tauri from 1.0.0-rc.13 to 1.0.0-rc.14 in /src-tauri (#24)
Bumps [tauri](https://github.com/tauri-apps/tauri) from 1.0.0-rc.13 to 1.0.0-rc.14.
- [Release notes](https://github.com/tauri-apps/tauri/releases)
- [Commits](https://github.com/tauri-apps/tauri/compare/tauri-v1.0.0-rc.13...tauri-v1.0.0-rc.14)

---
updated-dependencies:
- dependency-name: tauri
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-28 12:38:13 +05:30
dependabot[bot]
d340f96a6b Bump tauri-build from 1.0.0-rc.10 to 1.0.0-rc.11 in /src-tauri (#20)
Bumps [tauri-build](https://github.com/tauri-apps/tauri) from 1.0.0-rc.10 to 1.0.0-rc.11.
- [Release notes](https://github.com/tauri-apps/tauri/releases)
- [Commits](https://github.com/tauri-apps/tauri/compare/tauri-build-v1.0.0-rc.10...tauri-build-v1.0.0-rc.11)

---
updated-dependencies:
- dependency-name: tauri-build
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-28 12:20:30 +05:30
dependabot[bot]
1b41c74b32 Bump tauri from 1.0.0-rc.12 to 1.0.0-rc.13 in /src-tauri (#21)
Bumps [tauri](https://github.com/tauri-apps/tauri) from 1.0.0-rc.12 to 1.0.0-rc.13.
- [Release notes](https://github.com/tauri-apps/tauri/releases)
- [Commits](https://github.com/tauri-apps/tauri/compare/tauri-v1.0.0-rc.12...tauri-v1.0.0-rc.13)

---
updated-dependencies:
- dependency-name: tauri
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-28 12:20:17 +05:30
dependabot[bot]
16d6eab673 Bump @tauri-apps/cli from 1.0.0-rc.12 to 1.0.0-rc.13 (#22)
Bumps [@tauri-apps/cli](https://github.com/tauri-apps/tauri) from 1.0.0-rc.12 to 1.0.0-rc.13.
- [Release notes](https://github.com/tauri-apps/tauri/releases)
- [Commits](https://github.com/tauri-apps/tauri/compare/v1.0.0-rc.12...v1.0.0-rc.13)

---
updated-dependencies:
- dependency-name: "@tauri-apps/cli"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-28 12:20:04 +05:30
Krishan
09c53e4e92 Clarification while verifying 2022-05-27 13:59:45 +05:30
Krishan
463cbc45b4 Add downloading verifying steps in readme 2022-05-27 13:50:46 +05:30
Krishan
f75398c772 Update crates 2022-05-25 14:51:06 +05:30
Krishan
6e1d213c93 Set minimum rust version 2022-05-25 11:11:00 +05:30
Krishan
a128d8d33d Merge branch 'main' of https://github.com/cinnyapp/cinny-desktop 2022-05-25 11:05:44 +05:30
Krishan
0c876e0ab2 Update crates 2022-05-25 11:05:38 +05:30
dependabot[bot]
4457b796a7 Bump tauri from 1.0.0-rc.11 to 1.0.0-rc.12 in /src-tauri (#18)
Bumps [tauri](https://github.com/tauri-apps/tauri) from 1.0.0-rc.11 to 1.0.0-rc.12.
- [Release notes](https://github.com/tauri-apps/tauri/releases)
- [Commits](https://github.com/tauri-apps/tauri/compare/tauri-v1.0.0-rc.11...tauri-v1.0.0-rc.12)

---
updated-dependencies:
- dependency-name: tauri
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-25 11:03:36 +05:30
dependabot[bot]
f4383b89bb Bump @tauri-apps/api from 1.0.0-rc.5 to 1.0.0-rc.6 (#16)
Bumps [@tauri-apps/api](https://github.com/tauri-apps/tauri) from 1.0.0-rc.5 to 1.0.0-rc.6.
- [Release notes](https://github.com/tauri-apps/tauri/releases)
- [Commits](https://github.com/tauri-apps/tauri/compare/v1.0.0-rc.5...v1.0.0-rc.6)

---
updated-dependencies:
- dependency-name: "@tauri-apps/api"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-25 11:03:22 +05:30
dependabot[bot]
231a3a9c68 Bump @tauri-apps/cli from 1.0.0-rc.11 to 1.0.0-rc.12 (#17)
Bumps [@tauri-apps/cli](https://github.com/tauri-apps/tauri) from 1.0.0-rc.11 to 1.0.0-rc.12.
- [Release notes](https://github.com/tauri-apps/tauri/releases)
- [Commits](https://github.com/tauri-apps/tauri/compare/v1.0.0-rc.11...v1.0.0-rc.12)

---
updated-dependencies:
- dependency-name: "@tauri-apps/cli"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-25 11:03:10 +05:30
dependabot[bot]
74ae0eb8a4 Bump tauri-build from 1.0.0-rc.9 to 1.0.0-rc.10 in /src-tauri (#19)
Bumps [tauri-build](https://github.com/tauri-apps/tauri) from 1.0.0-rc.9 to 1.0.0-rc.10.
- [Release notes](https://github.com/tauri-apps/tauri/releases)
- [Commits](https://github.com/tauri-apps/tauri/compare/tauri-build-v1.0.0-rc.9...tauri-build-v1.0.0-rc.10)

---
updated-dependencies:
- dependency-name: tauri-build
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-25 11:02:56 +05:30
dependabot[bot]
85236350a6 Bump tauri from 1.0.0-rc.9 to 1.0.0-rc.11 in /src-tauri (#15)
Bumps [tauri](https://github.com/tauri-apps/tauri) from 1.0.0-rc.9 to 1.0.0-rc.11.
- [Release notes](https://github.com/tauri-apps/tauri/releases)
- [Commits](https://github.com/tauri-apps/tauri/compare/tauri-v1.0.0-rc.9...tauri-v1.0.0-rc.11)

---
updated-dependencies:
- dependency-name: tauri
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-24 20:22:34 +05:30
dependabot[bot]
30f5315f97 Bump tauri-build from 1.0.0-rc.8 to 1.0.0-rc.9 in /src-tauri (#14)
Bumps [tauri-build](https://github.com/tauri-apps/tauri) from 1.0.0-rc.8 to 1.0.0-rc.9.
- [Release notes](https://github.com/tauri-apps/tauri/releases)
- [Commits](https://github.com/tauri-apps/tauri/compare/tauri-build-v1.0.0-rc.8...tauri-build-v1.0.0-rc.9)

---
updated-dependencies:
- dependency-name: tauri-build
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-24 20:14:25 +05:30
dependabot[bot]
d06bd48182 Bump @tauri-apps/cli from 1.0.0-rc.10 to 1.0.0-rc.11 (#13)
Bumps [@tauri-apps/cli](https://github.com/tauri-apps/tauri) from 1.0.0-rc.10 to 1.0.0-rc.11.
- [Release notes](https://github.com/tauri-apps/tauri/releases)
- [Commits](https://github.com/tauri-apps/tauri/compare/v1.0.0-rc.10...v1.0.0-rc.11)

---
updated-dependencies:
- dependency-name: "@tauri-apps/cli"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-24 20:13:46 +05:30
dependabot[bot]
85fcc432b6 Bump actions/setup-node from 3.1.1 to 3.2.0 (#10)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.1.1 to 3.2.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3.1.1...v3.2.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-24 20:10:58 +05:30
dependabot[bot]
71d8e8c1a9 Bump @actions/github from 5.0.1 to 5.0.3 (#9)
Bumps [@actions/github](https://github.com/actions/toolkit/tree/HEAD/packages/github) from 5.0.1 to 5.0.3.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/github/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/github)

---
updated-dependencies:
- dependency-name: "@actions/github"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-24 20:10:35 +05:30
Krishan
d22109511c Fix screenshot url 2022-05-18 22:21:01 +05:30
Krishan
0a26b7a4c7 Update appdata and xml for flatpak 2022-05-18 22:09:04 +05:30
Krishan
df6cbe3ef4 Fix release script to work with new format 2022-05-18 22:00:34 +05:30
Krishan
42f685a26e Added screenshot and update flatpak xml 2022-05-16 21:43:50 +05:30
Krishan
63ecc20364 Update actions to use required deps for ubuntu 2022-05-16 16:40:09 +05:30
Krishan
1ecdddde26 Fix copy-paste not working on macOS 2022-05-16 16:30:01 +05:30
Krishan
912d7394ab Add description in config 2022-05-16 16:29:33 +05:30
Krishan
d09f13977d Add devtools to production builds 2022-05-16 16:29:14 +05:30
Krishan
e40c557965 Update dependencies 2022-05-16 16:28:48 +05:30
Krishan
2edf006e1e v2.0.3 2022-05-15 10:49:43 +05:30
Krishan
10f84565c1 Revert 2dd451d012 and 721103f5b1 2022-05-14 12:29:42 +05:30
Krishan
721103f5b1 Revert dcaa62dcd1 to 7b8b04896c 2022-05-14 10:37:32 +05:30
Krishan
bc937d20a4 v2.0.2 2022-05-14 09:47:32 +05:30
Krishan
2dd451d012 Revert a change that might be breaking auto updates 2022-05-13 20:13:07 +05:30
Krishan
08d3d9e890 v2.0.1 2022-05-13 16:44:54 +05:30
Krishan
b26ab47f01 Action to create zip-archive for Flatpak 2022-05-13 16:27:58 +05:30
Krishan
0377b299f2 Rename flatpak resources 2022-05-13 15:53:33 +05:30
Krishan
e801319415 Added resources for flatpak 2022-05-09 15:50:06 +05:30
Krishan
da498bf57b release 2.0.0 2022-05-08 13:32:57 +05:30
Krishan
7b8b04896c Update deps 2022-05-08 13:00:07 +05:30
dependabot[bot]
6e1559cace Bump tauri-build from 1.0.0-rc.7 to 1.0.0-rc.8 in /src-tauri (#8)
Bumps [tauri-build](https://github.com/tauri-apps/tauri) from 1.0.0-rc.7 to 1.0.0-rc.8.
- [Release notes](https://github.com/tauri-apps/tauri/releases)
- [Commits](https://github.com/tauri-apps/tauri/compare/tauri-build-v1.0.0-rc.7...tauri-build-v1.0.0-rc.8)

---
updated-dependencies:
- dependency-name: tauri-build
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-08 12:51:43 +05:30
dependabot[bot]
c12033df06 Bump tauri from 1.0.0-rc.8 to 1.0.0-rc.9 in /src-tauri (#7)
Bumps [tauri](https://github.com/tauri-apps/tauri) from 1.0.0-rc.8 to 1.0.0-rc.9.
- [Release notes](https://github.com/tauri-apps/tauri/releases)
- [Commits](https://github.com/tauri-apps/tauri/compare/tauri-v1.0.0-rc.8...tauri-v1.0.0-rc.9)

---
updated-dependencies:
- dependency-name: tauri
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-08 12:48:22 +05:30
dependabot[bot]
bbee4890f7 Bump @tauri-apps/api from 1.0.0-rc.4 to 1.0.0-rc.5 (#6)
Bumps [@tauri-apps/api](https://github.com/tauri-apps/tauri) from 1.0.0-rc.4 to 1.0.0-rc.5.
- [Release notes](https://github.com/tauri-apps/tauri/releases)
- [Commits](https://github.com/tauri-apps/tauri/compare/v1.0.0-rc.4...v1.0.0-rc.5)

---
updated-dependencies:
- dependency-name: "@tauri-apps/api"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-08 12:48:09 +05:30
dependabot[bot]
dcaa62dcd1 Bump @tauri-apps/cli from 1.0.0-rc.9 to 1.0.0-rc.10 (#5)
Bumps [@tauri-apps/cli](https://github.com/tauri-apps/tauri) from 1.0.0-rc.9 to 1.0.0-rc.10.
- [Release notes](https://github.com/tauri-apps/tauri/releases)
- [Commits](https://github.com/tauri-apps/tauri/compare/v1.0.0-rc.9...v1.0.0-rc.10)

---
updated-dependencies:
- dependency-name: "@tauri-apps/cli"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-08 12:47:55 +05:30
Krishan
07cef56e57 Add app category 2022-05-05 10:04:09 +05:30
Krishan
0074b57653 make app launch in center 2022-05-04 20:17:41 +05:30
Krishan
c6813cc69d Update dependencies 2022-05-04 17:52:40 +05:30
Krishan
9fa93b2bee Remove secrets 2022-05-04 09:10:28 +05:30
Krishan
c1d3e3c838 Update readme with setup instructions. 2022-05-03 21:20:25 +05:30
Krishan
871b0eb0f2 Remove extra build steps 2022-05-03 20:58:26 +05:30
Krishan
977ed75bbf Add PR checks 2022-05-03 20:47:26 +05:30
Krishan
4ab4862177 submodule to 1.8.2 version 2022-05-02 20:39:01 +05:30
Krishan
d7c7c19842 public key updated 2022-05-02 20:37:29 +05:30
Krishan
70a382759b update submodule 2022-05-01 21:26:33 +05:30
Krishan
a45649d54d Update Public key 2022-05-01 21:21:04 +05:30
Krishan
313f9e1ae4 Update public key 2022-04-30 20:10:39 +05:30
Krishan
d4538f8262 Add readme with build instrucitons 2022-04-29 20:13:18 +05:30
19 changed files with 1030 additions and 1263 deletions

22
.github/workflows/archive.yml vendored Normal file
View File

@@ -0,0 +1,22 @@
name: "Upload zip-archive"
on:
release:
types: [published]
jobs:
zip-archive:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3.0.2
with:
submodules: true
- name: Create zip including submodules
run: |
cd ..
zip ${{ github.event.repository.name }}/${{ github.event.repository.name }}-${{ github.ref_name }}.zip ${{ github.event.repository.name }} -r
- name: Upload zip to release
uses: softprops/action-gh-release@1e07f4398721186383de40550babbdf2b84acfc5
with:
files: |
${{ github.event.repository.name }}-${{ github.ref_name }}.zip

View File

@@ -22,18 +22,18 @@ jobs:
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Setup node - name: Setup node
uses: actions/setup-node@v3.1.1 uses: actions/setup-node@v3.2.0
with: with:
node-version: 16 node-version: 16
- name: Install Rust stable - name: Install Rust stable
uses: actions-rs/toolchain@v1.0.7 uses: actions-rs/toolchain@v1.0.7
with: with:
toolchain: stable toolchain: stable
- name: Install webkit2gtk (ubuntu only) - name: Install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-latest' if: matrix.platform == 'ubuntu-latest'
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get install -y webkit2gtk-4.0 sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf
- name: Install cinny dependencies - name: Install cinny dependencies
run: cd cinny && npm ci run: cd cinny && npm ci
- name: Install tauri dependencies - name: Install tauri dependencies
@@ -43,6 +43,7 @@ jobs:
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }} TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
with: with:
releaseId: ${{ steps.get_release.outputs.upload_url }} releaseId: ${{ steps.get_release.outputs.upload_url }}
- name: Get app version (macos, ubuntu) - name: Get app version (macos, ubuntu)

39
.github/workflows/test.yml vendored Normal file
View File

@@ -0,0 +1,39 @@
name: "Build pull request"
on:
#pull_request:
#types: ['opened', 'synchronize']
jobs:
publish-tauri:
strategy:
fail-fast: false
matrix:
platform: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout repository
uses: actions/checkout@v3.0.2
with:
submodules: true
- name: Setup node
uses: actions/setup-node@v3.2.0
with:
node-version: 16
- name: Install Rust stable
uses: actions-rs/toolchain@v1.0.7
with:
toolchain: stable
- name: Install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf
- name: Install cinny dependencies
run: cd cinny && npm ci
- name: Install tauri dependencies
run: npm ci
- name: Build desktop app with Tauri
uses: tauri-apps/tauri-action@v0.3.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

21
LICENSE Normal file
View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2021-present Ajay Bura (ajbura)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

35
README.md Normal file
View File

@@ -0,0 +1,35 @@
# Cinny desktop
<a href="https://github.com/cinnyapp/cinny-desktop/releases">
<img alt="GitHub release downloads" src="https://img.shields.io/github/downloads/cinnyapp/cinny-desktop/total?style=social"></a>
Dekstop app of Cinny made with Tauri. Cinny is a matrix client focusing primarily on simple, elegant and secure interface.
![Image](resources/screenshot2.png)
## Download
Installers for macOS, Windows and Linux can be downloaded from [Github releases](https://github.com/cinnyapp/cinny-desktop/releases). Releases are signed with a [Ed25519](https://ed25519.cr.yp.to/) public-key.
Decoded pulic key:
> RWRflTUQD3RHFtn25QNANCmePR9+4LSK89kAKTMEEB4OKpOFpLMgc64z
To verify release files, you need to download [minisign](https://jedisct1.github.io/minisign/) tool and [decode](https://www.base64decode.org/) the *.sig* file before running:
> minisign -Vm ***RELEASE_FILE.msi.zip*** -P RWRflTUQD3RHFtn25QNANCmePR9+4LSK89kAKTMEEB4OKpOFpLMgc64z -x ***SINGATURE.msi.zip.sig***
## Local development
Firstly, to setup Rust, NodeJS and build tools follow [Tauri documentation](https://tauri.studio/docs/getting-started/prerequisites).
Now, to setup development locally run the following commands:
* `git clone --recursive https://github.com/cinnyapp/cinny-desktop.git`
* `cd cinny`
* `npm ci`
* `cd ..`
* `npm ci`
To build the app locally, run:
* `npm run tauri build`
To start local dev server, run:
* `npm run tauri dev`

2
cinny

Submodule cinny updated: 416fd02069...f05037c7d6

226
package-lock.json generated
View File

@@ -1,19 +1,19 @@
{ {
"name": "cinny", "name": "cinny",
"version": "1.8.2", "version": "2.0.4",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "cinny", "name": "cinny",
"version": "1.8.2", "version": "2.0.4",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@tauri-apps/api": "^1.0.0-rc.2" "@tauri-apps/api": "^1.0.0-rc.6"
}, },
"devDependencies": { "devDependencies": {
"@actions/github": "^5.0.0", "@actions/github": "^5.0.3",
"@tauri-apps/cli": "^1.0.0-rc.7", "@tauri-apps/cli": "^1.0.0-rc.13",
"node-fetch": "^3.2.3" "node-fetch": "^3.2.3"
}, },
"engines": { "engines": {
@@ -22,24 +22,24 @@
} }
}, },
"node_modules/@actions/github": { "node_modules/@actions/github": {
"version": "5.0.1", "version": "5.0.3",
"resolved": "https://registry.npmjs.org/@actions/github/-/github-5.0.1.tgz", "resolved": "https://registry.npmjs.org/@actions/github/-/github-5.0.3.tgz",
"integrity": "sha512-JZGyPM9ektb8NVTTI/2gfJ9DL7Rk98tQ7OVyTlgTuaQroariRBsOnzjy0I2EarX4xUZpK88YyO503fhmjFdyAg==", "integrity": "sha512-myjA/pdLQfhUGLtRZC/J4L1RXOG4o6aYdiEq+zr5wVVKljzbFld+xv10k1FX6IkIJtNxbAq44BdwSNpQ015P0A==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"@actions/http-client": "^1.0.11", "@actions/http-client": "^2.0.1",
"@octokit/core": "^3.6.0", "@octokit/core": "^3.6.0",
"@octokit/plugin-paginate-rest": "^2.17.0", "@octokit/plugin-paginate-rest": "^2.17.0",
"@octokit/plugin-rest-endpoint-methods": "^5.13.0" "@octokit/plugin-rest-endpoint-methods": "^5.13.0"
} }
}, },
"node_modules/@actions/http-client": { "node_modules/@actions/http-client": {
"version": "1.0.11", "version": "2.0.1",
"resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-1.0.11.tgz", "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-2.0.1.tgz",
"integrity": "sha512-VRYHGQV1rqnROJqdMvGUbY/Kn8vriQe/F9HR2AlYHzmKuM/p3kjNuXhmdBfcVgsvRWTz5C5XW5xvndZrVBuAYg==", "integrity": "sha512-PIXiMVtz6VvyaRsGY268qvj57hXQEpsYogYOu2nrQhlf+XCGmZstmuZBbAybUl1nQGnvS1k1eEsQ69ZoD7xlSw==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"tunnel": "0.0.6" "tunnel": "^0.0.6"
} }
}, },
"node_modules/@octokit/auth-token": { "node_modules/@octokit/auth-token": {
@@ -174,11 +174,11 @@
} }
}, },
"node_modules/@tauri-apps/api": { "node_modules/@tauri-apps/api": {
"version": "1.0.0-rc.2", "version": "1.0.0-rc.6",
"resolved": "https://registry.npmjs.org/@tauri-apps/api/-/api-1.0.0-rc.2.tgz", "resolved": "https://registry.npmjs.org/@tauri-apps/api/-/api-1.0.0-rc.6.tgz",
"integrity": "sha512-JhUDCJpfxmf/S1R+yHmJGsher4CGi07Qv4fYeucB7naeFZ7yTQe7S1CHKUZaRYpurGSdwOF3my9k0LyGmpAGYw==", "integrity": "sha512-/PbVs3/dUzid0/1XbML8tAkRSOmp+6Gv9ql02HGt3aIjNTvaL2902qEbiTX6xK++3oUoKJJ88t+V6IiNd1JUkw==",
"dependencies": { "dependencies": {
"type-fest": "2.12.0" "type-fest": "2.12.2"
}, },
"engines": { "engines": {
"node": ">= 12.13.0", "node": ">= 12.13.0",
@@ -191,9 +191,9 @@
} }
}, },
"node_modules/@tauri-apps/cli": { "node_modules/@tauri-apps/cli": {
"version": "1.0.0-rc.7", "version": "1.0.0-rc.13",
"resolved": "https://registry.npmjs.org/@tauri-apps/cli/-/cli-1.0.0-rc.7.tgz", "resolved": "https://registry.npmjs.org/@tauri-apps/cli/-/cli-1.0.0-rc.13.tgz",
"integrity": "sha512-g7lUsI2iFiB2JuPFr209vWNqOnxCOGXN6yBttMRY+94UUXZOeWlKxYYpSabyjSr7EbfAUNzjITYmE4urdtmB+A==", "integrity": "sha512-q7i45Mi1SMv5XllNoX09QS4Q/fYVFwD6piVYmqMSrKY/T5RwedQhytiVH60TxC2xk6o0akVHa7BdYiyJvXNR8A==",
"dev": true, "dev": true,
"bin": { "bin": {
"tauri": "tauri.js" "tauri": "tauri.js"
@@ -206,21 +206,21 @@
"url": "https://opencollective.com/tauri" "url": "https://opencollective.com/tauri"
}, },
"optionalDependencies": { "optionalDependencies": {
"@tauri-apps/cli-darwin-arm64": "1.0.0-rc.7", "@tauri-apps/cli-darwin-arm64": "1.0.0-rc.13",
"@tauri-apps/cli-darwin-x64": "1.0.0-rc.7", "@tauri-apps/cli-darwin-x64": "1.0.0-rc.13",
"@tauri-apps/cli-linux-arm-gnueabihf": "1.0.0-rc.7", "@tauri-apps/cli-linux-arm-gnueabihf": "1.0.0-rc.13",
"@tauri-apps/cli-linux-arm64-gnu": "1.0.0-rc.7", "@tauri-apps/cli-linux-arm64-gnu": "1.0.0-rc.13",
"@tauri-apps/cli-linux-arm64-musl": "1.0.0-rc.7", "@tauri-apps/cli-linux-arm64-musl": "1.0.0-rc.13",
"@tauri-apps/cli-linux-x64-gnu": "1.0.0-rc.7", "@tauri-apps/cli-linux-x64-gnu": "1.0.0-rc.13",
"@tauri-apps/cli-linux-x64-musl": "1.0.0-rc.7", "@tauri-apps/cli-linux-x64-musl": "1.0.0-rc.13",
"@tauri-apps/cli-win32-ia32-msvc": "1.0.0-rc.7", "@tauri-apps/cli-win32-ia32-msvc": "1.0.0-rc.13",
"@tauri-apps/cli-win32-x64-msvc": "1.0.0-rc.7" "@tauri-apps/cli-win32-x64-msvc": "1.0.0-rc.13"
} }
}, },
"node_modules/@tauri-apps/cli-darwin-arm64": { "node_modules/@tauri-apps/cli-darwin-arm64": {
"version": "1.0.0-rc.7", "version": "1.0.0-rc.13",
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-darwin-arm64/-/cli-darwin-arm64-1.0.0-rc.7.tgz", "resolved": "https://registry.npmjs.org/@tauri-apps/cli-darwin-arm64/-/cli-darwin-arm64-1.0.0-rc.13.tgz",
"integrity": "sha512-fb1plxZZHDG0KwZOoAl6tuisFU+oZFtNtqK3V2KL+4hz75DyH6BfsrgjyYSecJrtQejL2cHi8q7vUsU+EeLopw==", "integrity": "sha512-/EqOz7ASHOU98H58Ibbkg12pLG/P5oyQz8OlueaMYryajkJdmi+bHTkJ05DfbS0owAaHkRJ6f+NmoW/AnyqUbg==",
"cpu": [ "cpu": [
"arm64" "arm64"
], ],
@@ -234,9 +234,9 @@
} }
}, },
"node_modules/@tauri-apps/cli-darwin-x64": { "node_modules/@tauri-apps/cli-darwin-x64": {
"version": "1.0.0-rc.7", "version": "1.0.0-rc.13",
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-darwin-x64/-/cli-darwin-x64-1.0.0-rc.7.tgz", "resolved": "https://registry.npmjs.org/@tauri-apps/cli-darwin-x64/-/cli-darwin-x64-1.0.0-rc.13.tgz",
"integrity": "sha512-FOFPNsYUgCDaxEK+9oQ3vv9bMD3XVcOKdh1vo/DImzZNO6fQkcsDC8zlmA+Q4axd+X8kvu0iti1fK8Vl7HIUEA==", "integrity": "sha512-bvZ0MBKFD1kc4gdVPXgwUA6tHNKj0EmlQK0Xolk6PYP9vZZeNTP1vejevW0bh2IqxC8DuqUArbG9USXwu+LFbQ==",
"cpu": [ "cpu": [
"x64" "x64"
], ],
@@ -250,9 +250,9 @@
} }
}, },
"node_modules/@tauri-apps/cli-linux-arm-gnueabihf": { "node_modules/@tauri-apps/cli-linux-arm-gnueabihf": {
"version": "1.0.0-rc.7", "version": "1.0.0-rc.13",
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm-gnueabihf/-/cli-linux-arm-gnueabihf-1.0.0-rc.7.tgz", "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm-gnueabihf/-/cli-linux-arm-gnueabihf-1.0.0-rc.13.tgz",
"integrity": "sha512-tFzcJtNHy5AInU3E7kKDyhg4Qb7csu3uZ3FhGfORmGvQAiNQFpGV3ypC230RQYa3sxxRMbn8vjUAZMlU6JArbA==", "integrity": "sha512-yODvfUkNvtYYdDTOJSDXMx9fpoEB66I2PTrYx1UKonKTEaLrQDcpw2exD/S9LPQzCYgyTuJ/kHRhG1uLdO/UUQ==",
"cpu": [ "cpu": [
"arm" "arm"
], ],
@@ -266,9 +266,9 @@
} }
}, },
"node_modules/@tauri-apps/cli-linux-arm64-gnu": { "node_modules/@tauri-apps/cli-linux-arm64-gnu": {
"version": "1.0.0-rc.7", "version": "1.0.0-rc.13",
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm64-gnu/-/cli-linux-arm64-gnu-1.0.0-rc.7.tgz", "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm64-gnu/-/cli-linux-arm64-gnu-1.0.0-rc.13.tgz",
"integrity": "sha512-QAoNUJMmoCv/mDZsfEZOOTeEPYuxtMgCgqTDqMd0H8S0Y3Cu2D/Q2fwVl0s9pMb6wLD2GJ2FEneySEMhMxt7Pg==", "integrity": "sha512-kVDJHERD8CmTeMcd2VTnD/nVCHdnNAK8a6ur3l0KTR1iF8A1AtN/sPahMQjK4f7Ar00UDjIzTw74liqakOeiZg==",
"cpu": [ "cpu": [
"arm64" "arm64"
], ],
@@ -282,9 +282,9 @@
} }
}, },
"node_modules/@tauri-apps/cli-linux-arm64-musl": { "node_modules/@tauri-apps/cli-linux-arm64-musl": {
"version": "1.0.0-rc.7", "version": "1.0.0-rc.13",
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm64-musl/-/cli-linux-arm64-musl-1.0.0-rc.7.tgz", "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm64-musl/-/cli-linux-arm64-musl-1.0.0-rc.13.tgz",
"integrity": "sha512-ieLyACtbY7ezReTnjWLw/kKDXRCbnbrUjQ+hltSmHaRuV51nX+I2rmFO5e7VPdj406jvyKwfSPuBC34bHxt3Og==", "integrity": "sha512-PFHz+0xKCGMqqn2TmbOSPvTRS61xJQV7srwTZjs5sHBvK536mdBnF/6V6BPEvTn5LzfRnxMu2A5X5GFkYnrZ7w==",
"cpu": [ "cpu": [
"arm64" "arm64"
], ],
@@ -298,9 +298,9 @@
} }
}, },
"node_modules/@tauri-apps/cli-linux-x64-gnu": { "node_modules/@tauri-apps/cli-linux-x64-gnu": {
"version": "1.0.0-rc.7", "version": "1.0.0-rc.13",
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-x64-gnu/-/cli-linux-x64-gnu-1.0.0-rc.7.tgz", "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-x64-gnu/-/cli-linux-x64-gnu-1.0.0-rc.13.tgz",
"integrity": "sha512-wPAZctuFpurACxdCrjw+aaSuFReuIvv1nalVezfqA78AlsCk785yF2YVjoZr5bT8a9+6F+t8uNi3l6Vp5oNqwQ==", "integrity": "sha512-EWhTOUNHaaMM7mxp/ue+Osnzn6/o9/7qVle3MSnNI9pGQzumc/dOtBs+sWS/NPXdVEiWKET2mFMK120KJlYcQQ==",
"cpu": [ "cpu": [
"x64" "x64"
], ],
@@ -314,9 +314,9 @@
} }
}, },
"node_modules/@tauri-apps/cli-linux-x64-musl": { "node_modules/@tauri-apps/cli-linux-x64-musl": {
"version": "1.0.0-rc.7", "version": "1.0.0-rc.13",
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-x64-musl/-/cli-linux-x64-musl-1.0.0-rc.7.tgz", "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-x64-musl/-/cli-linux-x64-musl-1.0.0-rc.13.tgz",
"integrity": "sha512-/AxuXFC2d1V8KpZJ6cFDcD5QqPFIZFXC/tAJlnTW75VnHgjat9TYP3BdSOuEA81ZLs9tV4PQF40tNnUSzfRYMg==", "integrity": "sha512-i8lsKw5iAGTAhqSQHeUCISLjhRXNrloHPoFCaSZtU0/GAPGbW/qST7u593h7cKWxRooeMwzo74ij4GhgmddClQ==",
"cpu": [ "cpu": [
"x64" "x64"
], ],
@@ -330,9 +330,9 @@
} }
}, },
"node_modules/@tauri-apps/cli-win32-ia32-msvc": { "node_modules/@tauri-apps/cli-win32-ia32-msvc": {
"version": "1.0.0-rc.7", "version": "1.0.0-rc.13",
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-ia32-msvc/-/cli-win32-ia32-msvc-1.0.0-rc.7.tgz", "resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-ia32-msvc/-/cli-win32-ia32-msvc-1.0.0-rc.13.tgz",
"integrity": "sha512-C4M2rHXlYVPSHGl2Iax1rfiNM5GPSRP1JHxW7/4jH9FfW6mVFcjULZAyVMRfOMQEQ9bYXbVnSTPbhG2Fm0jPxQ==", "integrity": "sha512-rJxSqWIQXeeT2oLzSiQyqZPgDKSGH5sK7MUr8cOCBitqy3T0COlOMX4O7hhqF3cJ/5s0aX+MuNZBzF/D0QUcxA==",
"cpu": [ "cpu": [
"ia32" "ia32"
], ],
@@ -346,9 +346,9 @@
} }
}, },
"node_modules/@tauri-apps/cli-win32-x64-msvc": { "node_modules/@tauri-apps/cli-win32-x64-msvc": {
"version": "1.0.0-rc.7", "version": "1.0.0-rc.13",
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-x64-msvc/-/cli-win32-x64-msvc-1.0.0-rc.7.tgz", "resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-x64-msvc/-/cli-win32-x64-msvc-1.0.0-rc.13.tgz",
"integrity": "sha512-lpstJKOtP+ahhjbutapA02TpvfNTZqXwhmA1fvqxDu6BYVezFn7ZiGG5HwdXlkiRDfbwZwBd1evdkV3MxwY1NQ==", "integrity": "sha512-ifOTrJVQoBAQUYX+EVnE4XJ/FCMHs4FQ8qxGNszqkSxrU24mmT7La6tzj77352q80KnxRa05xjjLL6GGhmzXRg==",
"cpu": [ "cpu": [
"x64" "x64"
], ],
@@ -488,9 +488,9 @@
} }
}, },
"node_modules/type-fest": { "node_modules/type-fest": {
"version": "2.12.0", "version": "2.12.2",
"resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.12.0.tgz", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.12.2.tgz",
"integrity": "sha512-Qe5GRT+n/4GoqCNGGVp5Snapg1Omq3V7irBJB3EaKsp7HWDo5Gv2d/67gfNyV+d5EXD+x/RF5l1h4yJ7qNkcGA==", "integrity": "sha512-qt6ylCGpLjZ7AaODxbpyBZSs9fCI9SkL3Z9q2oxMBQhs/uyY+VD8jHA8ULCGmWQJlBgqvO3EJeAngOHD8zQCrQ==",
"engines": { "engines": {
"node": ">=12.20" "node": ">=12.20"
}, },
@@ -538,24 +538,24 @@
}, },
"dependencies": { "dependencies": {
"@actions/github": { "@actions/github": {
"version": "5.0.1", "version": "5.0.3",
"resolved": "https://registry.npmjs.org/@actions/github/-/github-5.0.1.tgz", "resolved": "https://registry.npmjs.org/@actions/github/-/github-5.0.3.tgz",
"integrity": "sha512-JZGyPM9ektb8NVTTI/2gfJ9DL7Rk98tQ7OVyTlgTuaQroariRBsOnzjy0I2EarX4xUZpK88YyO503fhmjFdyAg==", "integrity": "sha512-myjA/pdLQfhUGLtRZC/J4L1RXOG4o6aYdiEq+zr5wVVKljzbFld+xv10k1FX6IkIJtNxbAq44BdwSNpQ015P0A==",
"dev": true, "dev": true,
"requires": { "requires": {
"@actions/http-client": "^1.0.11", "@actions/http-client": "^2.0.1",
"@octokit/core": "^3.6.0", "@octokit/core": "^3.6.0",
"@octokit/plugin-paginate-rest": "^2.17.0", "@octokit/plugin-paginate-rest": "^2.17.0",
"@octokit/plugin-rest-endpoint-methods": "^5.13.0" "@octokit/plugin-rest-endpoint-methods": "^5.13.0"
} }
}, },
"@actions/http-client": { "@actions/http-client": {
"version": "1.0.11", "version": "2.0.1",
"resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-1.0.11.tgz", "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-2.0.1.tgz",
"integrity": "sha512-VRYHGQV1rqnROJqdMvGUbY/Kn8vriQe/F9HR2AlYHzmKuM/p3kjNuXhmdBfcVgsvRWTz5C5XW5xvndZrVBuAYg==", "integrity": "sha512-PIXiMVtz6VvyaRsGY268qvj57hXQEpsYogYOu2nrQhlf+XCGmZstmuZBbAybUl1nQGnvS1k1eEsQ69ZoD7xlSw==",
"dev": true, "dev": true,
"requires": { "requires": {
"tunnel": "0.0.6" "tunnel": "^0.0.6"
} }
}, },
"@octokit/auth-token": { "@octokit/auth-token": {
@@ -675,90 +675,90 @@
} }
}, },
"@tauri-apps/api": { "@tauri-apps/api": {
"version": "1.0.0-rc.2", "version": "1.0.0-rc.6",
"resolved": "https://registry.npmjs.org/@tauri-apps/api/-/api-1.0.0-rc.2.tgz", "resolved": "https://registry.npmjs.org/@tauri-apps/api/-/api-1.0.0-rc.6.tgz",
"integrity": "sha512-JhUDCJpfxmf/S1R+yHmJGsher4CGi07Qv4fYeucB7naeFZ7yTQe7S1CHKUZaRYpurGSdwOF3my9k0LyGmpAGYw==", "integrity": "sha512-/PbVs3/dUzid0/1XbML8tAkRSOmp+6Gv9ql02HGt3aIjNTvaL2902qEbiTX6xK++3oUoKJJ88t+V6IiNd1JUkw==",
"requires": { "requires": {
"type-fest": "2.12.0" "type-fest": "2.12.2"
} }
}, },
"@tauri-apps/cli": { "@tauri-apps/cli": {
"version": "1.0.0-rc.7", "version": "1.0.0-rc.13",
"resolved": "https://registry.npmjs.org/@tauri-apps/cli/-/cli-1.0.0-rc.7.tgz", "resolved": "https://registry.npmjs.org/@tauri-apps/cli/-/cli-1.0.0-rc.13.tgz",
"integrity": "sha512-g7lUsI2iFiB2JuPFr209vWNqOnxCOGXN6yBttMRY+94UUXZOeWlKxYYpSabyjSr7EbfAUNzjITYmE4urdtmB+A==", "integrity": "sha512-q7i45Mi1SMv5XllNoX09QS4Q/fYVFwD6piVYmqMSrKY/T5RwedQhytiVH60TxC2xk6o0akVHa7BdYiyJvXNR8A==",
"dev": true, "dev": true,
"requires": { "requires": {
"@tauri-apps/cli-darwin-arm64": "1.0.0-rc.7", "@tauri-apps/cli-darwin-arm64": "1.0.0-rc.13",
"@tauri-apps/cli-darwin-x64": "1.0.0-rc.7", "@tauri-apps/cli-darwin-x64": "1.0.0-rc.13",
"@tauri-apps/cli-linux-arm-gnueabihf": "1.0.0-rc.7", "@tauri-apps/cli-linux-arm-gnueabihf": "1.0.0-rc.13",
"@tauri-apps/cli-linux-arm64-gnu": "1.0.0-rc.7", "@tauri-apps/cli-linux-arm64-gnu": "1.0.0-rc.13",
"@tauri-apps/cli-linux-arm64-musl": "1.0.0-rc.7", "@tauri-apps/cli-linux-arm64-musl": "1.0.0-rc.13",
"@tauri-apps/cli-linux-x64-gnu": "1.0.0-rc.7", "@tauri-apps/cli-linux-x64-gnu": "1.0.0-rc.13",
"@tauri-apps/cli-linux-x64-musl": "1.0.0-rc.7", "@tauri-apps/cli-linux-x64-musl": "1.0.0-rc.13",
"@tauri-apps/cli-win32-ia32-msvc": "1.0.0-rc.7", "@tauri-apps/cli-win32-ia32-msvc": "1.0.0-rc.13",
"@tauri-apps/cli-win32-x64-msvc": "1.0.0-rc.7" "@tauri-apps/cli-win32-x64-msvc": "1.0.0-rc.13"
} }
}, },
"@tauri-apps/cli-darwin-arm64": { "@tauri-apps/cli-darwin-arm64": {
"version": "1.0.0-rc.7", "version": "1.0.0-rc.13",
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-darwin-arm64/-/cli-darwin-arm64-1.0.0-rc.7.tgz", "resolved": "https://registry.npmjs.org/@tauri-apps/cli-darwin-arm64/-/cli-darwin-arm64-1.0.0-rc.13.tgz",
"integrity": "sha512-fb1plxZZHDG0KwZOoAl6tuisFU+oZFtNtqK3V2KL+4hz75DyH6BfsrgjyYSecJrtQejL2cHi8q7vUsU+EeLopw==", "integrity": "sha512-/EqOz7ASHOU98H58Ibbkg12pLG/P5oyQz8OlueaMYryajkJdmi+bHTkJ05DfbS0owAaHkRJ6f+NmoW/AnyqUbg==",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"@tauri-apps/cli-darwin-x64": { "@tauri-apps/cli-darwin-x64": {
"version": "1.0.0-rc.7", "version": "1.0.0-rc.13",
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-darwin-x64/-/cli-darwin-x64-1.0.0-rc.7.tgz", "resolved": "https://registry.npmjs.org/@tauri-apps/cli-darwin-x64/-/cli-darwin-x64-1.0.0-rc.13.tgz",
"integrity": "sha512-FOFPNsYUgCDaxEK+9oQ3vv9bMD3XVcOKdh1vo/DImzZNO6fQkcsDC8zlmA+Q4axd+X8kvu0iti1fK8Vl7HIUEA==", "integrity": "sha512-bvZ0MBKFD1kc4gdVPXgwUA6tHNKj0EmlQK0Xolk6PYP9vZZeNTP1vejevW0bh2IqxC8DuqUArbG9USXwu+LFbQ==",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"@tauri-apps/cli-linux-arm-gnueabihf": { "@tauri-apps/cli-linux-arm-gnueabihf": {
"version": "1.0.0-rc.7", "version": "1.0.0-rc.13",
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm-gnueabihf/-/cli-linux-arm-gnueabihf-1.0.0-rc.7.tgz", "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm-gnueabihf/-/cli-linux-arm-gnueabihf-1.0.0-rc.13.tgz",
"integrity": "sha512-tFzcJtNHy5AInU3E7kKDyhg4Qb7csu3uZ3FhGfORmGvQAiNQFpGV3ypC230RQYa3sxxRMbn8vjUAZMlU6JArbA==", "integrity": "sha512-yODvfUkNvtYYdDTOJSDXMx9fpoEB66I2PTrYx1UKonKTEaLrQDcpw2exD/S9LPQzCYgyTuJ/kHRhG1uLdO/UUQ==",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"@tauri-apps/cli-linux-arm64-gnu": { "@tauri-apps/cli-linux-arm64-gnu": {
"version": "1.0.0-rc.7", "version": "1.0.0-rc.13",
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm64-gnu/-/cli-linux-arm64-gnu-1.0.0-rc.7.tgz", "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm64-gnu/-/cli-linux-arm64-gnu-1.0.0-rc.13.tgz",
"integrity": "sha512-QAoNUJMmoCv/mDZsfEZOOTeEPYuxtMgCgqTDqMd0H8S0Y3Cu2D/Q2fwVl0s9pMb6wLD2GJ2FEneySEMhMxt7Pg==", "integrity": "sha512-kVDJHERD8CmTeMcd2VTnD/nVCHdnNAK8a6ur3l0KTR1iF8A1AtN/sPahMQjK4f7Ar00UDjIzTw74liqakOeiZg==",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"@tauri-apps/cli-linux-arm64-musl": { "@tauri-apps/cli-linux-arm64-musl": {
"version": "1.0.0-rc.7", "version": "1.0.0-rc.13",
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm64-musl/-/cli-linux-arm64-musl-1.0.0-rc.7.tgz", "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm64-musl/-/cli-linux-arm64-musl-1.0.0-rc.13.tgz",
"integrity": "sha512-ieLyACtbY7ezReTnjWLw/kKDXRCbnbrUjQ+hltSmHaRuV51nX+I2rmFO5e7VPdj406jvyKwfSPuBC34bHxt3Og==", "integrity": "sha512-PFHz+0xKCGMqqn2TmbOSPvTRS61xJQV7srwTZjs5sHBvK536mdBnF/6V6BPEvTn5LzfRnxMu2A5X5GFkYnrZ7w==",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"@tauri-apps/cli-linux-x64-gnu": { "@tauri-apps/cli-linux-x64-gnu": {
"version": "1.0.0-rc.7", "version": "1.0.0-rc.13",
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-x64-gnu/-/cli-linux-x64-gnu-1.0.0-rc.7.tgz", "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-x64-gnu/-/cli-linux-x64-gnu-1.0.0-rc.13.tgz",
"integrity": "sha512-wPAZctuFpurACxdCrjw+aaSuFReuIvv1nalVezfqA78AlsCk785yF2YVjoZr5bT8a9+6F+t8uNi3l6Vp5oNqwQ==", "integrity": "sha512-EWhTOUNHaaMM7mxp/ue+Osnzn6/o9/7qVle3MSnNI9pGQzumc/dOtBs+sWS/NPXdVEiWKET2mFMK120KJlYcQQ==",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"@tauri-apps/cli-linux-x64-musl": { "@tauri-apps/cli-linux-x64-musl": {
"version": "1.0.0-rc.7", "version": "1.0.0-rc.13",
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-x64-musl/-/cli-linux-x64-musl-1.0.0-rc.7.tgz", "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-x64-musl/-/cli-linux-x64-musl-1.0.0-rc.13.tgz",
"integrity": "sha512-/AxuXFC2d1V8KpZJ6cFDcD5QqPFIZFXC/tAJlnTW75VnHgjat9TYP3BdSOuEA81ZLs9tV4PQF40tNnUSzfRYMg==", "integrity": "sha512-i8lsKw5iAGTAhqSQHeUCISLjhRXNrloHPoFCaSZtU0/GAPGbW/qST7u593h7cKWxRooeMwzo74ij4GhgmddClQ==",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"@tauri-apps/cli-win32-ia32-msvc": { "@tauri-apps/cli-win32-ia32-msvc": {
"version": "1.0.0-rc.7", "version": "1.0.0-rc.13",
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-ia32-msvc/-/cli-win32-ia32-msvc-1.0.0-rc.7.tgz", "resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-ia32-msvc/-/cli-win32-ia32-msvc-1.0.0-rc.13.tgz",
"integrity": "sha512-C4M2rHXlYVPSHGl2Iax1rfiNM5GPSRP1JHxW7/4jH9FfW6mVFcjULZAyVMRfOMQEQ9bYXbVnSTPbhG2Fm0jPxQ==", "integrity": "sha512-rJxSqWIQXeeT2oLzSiQyqZPgDKSGH5sK7MUr8cOCBitqy3T0COlOMX4O7hhqF3cJ/5s0aX+MuNZBzF/D0QUcxA==",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"@tauri-apps/cli-win32-x64-msvc": { "@tauri-apps/cli-win32-x64-msvc": {
"version": "1.0.0-rc.7", "version": "1.0.0-rc.13",
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-x64-msvc/-/cli-win32-x64-msvc-1.0.0-rc.7.tgz", "resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-x64-msvc/-/cli-win32-x64-msvc-1.0.0-rc.13.tgz",
"integrity": "sha512-lpstJKOtP+ahhjbutapA02TpvfNTZqXwhmA1fvqxDu6BYVezFn7ZiGG5HwdXlkiRDfbwZwBd1evdkV3MxwY1NQ==", "integrity": "sha512-ifOTrJVQoBAQUYX+EVnE4XJ/FCMHs4FQ8qxGNszqkSxrU24mmT7La6tzj77352q80KnxRa05xjjLL6GGhmzXRg==",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
@@ -844,9 +844,9 @@
"dev": true "dev": true
}, },
"type-fest": { "type-fest": {
"version": "2.12.0", "version": "2.12.2",
"resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.12.0.tgz", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.12.2.tgz",
"integrity": "sha512-Qe5GRT+n/4GoqCNGGVp5Snapg1Omq3V7irBJB3EaKsp7HWDo5Gv2d/67gfNyV+d5EXD+x/RF5l1h4yJ7qNkcGA==" "integrity": "sha512-qt6ylCGpLjZ7AaODxbpyBZSs9fCI9SkL3Z9q2oxMBQhs/uyY+VD8jHA8ULCGmWQJlBgqvO3EJeAngOHD8zQCrQ=="
}, },
"universal-user-agent": { "universal-user-agent": {
"version": "6.0.0", "version": "6.0.0",

View File

@@ -1,11 +1,11 @@
{ {
"name": "cinny", "name": "cinny",
"version": "1.8.2", "version": "2.0.4",
"description": "Yet another matrix client", "description": "Yet another matrix client",
"main": "index.js", "main": "index.js",
"engines": { "engines": {
"npm": ">=6.14.11", "npm": ">=6.14.8 <=8.5.5",
"node": ">=14.6.0" "node": ">=14.15.0 <=17.9.0"
}, },
"scripts": { "scripts": {
"tauri": "tauri", "tauri": "tauri",
@@ -15,11 +15,11 @@
"author": "Ajay Bura", "author": "Ajay Bura",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@tauri-apps/api": "^1.0.0-rc.2" "@tauri-apps/api": "^1.0.0-rc.6"
}, },
"devDependencies": { "devDependencies": {
"@actions/github": "^5.0.0", "@actions/github": "^5.0.3",
"@tauri-apps/cli": "^1.0.0-rc.7", "@tauri-apps/cli": "^1.0.0-rc.13",
"node-fetch": "^3.2.3" "node-fetch": "^3.2.3"
} }
} }

View File

@@ -0,0 +1,53 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>in.cinny.Cinny</id>
<name>Cinny</name>
<summary>Yet another matrix client with simple, elegant and secure interface.</summary>
<developer_name>Ajay Bura</developer_name>
<metadata_license>CC0-1.0</metadata_license>
<project_license>MIT</project_license>
<url type="homepage">https://cinny.in</url>
<url type="bugtracker">https://github.com/ajbura/cinny/issues</url>
<url type="donation">https://cinny.in/#sponsor</url>
<supports>
<control>pointing</control>
<control>keyboard</control>
<control>touch</control>
</supports>
<description>
<p>
Cinny is a matrix.org client focusing primarily on simple, elegant and secure interface protected by e2ee with the power of open source.
</p>
<p>
Features: User-friendly design, Login and register, Full space support, Encryption and emoji verification, Ability to create new rooms and tweak settings, Support replies, markdown, message editing, Dark, light, and black themes.
</p>
</description>
<custom>
<value key="Purism::form_factor">workstation</value>
<value key="Purism::form_factor">mobile</value>
</custom>
<launchable type="desktop-id">in.cinny.Cinny.desktop</launchable>
<screenshots>
<screenshot type="default">
<image>https://raw.githubusercontent.com/cinnyapp/cinny-desktop/main/resources/screenshot1.png</image>
</screenshot>
<screenshot>
<image>https://raw.githubusercontent.com/cinnyapp/cinny-desktop/main/resources/screenshot2.png</image>
</screenshot>
<screenshot>
<image>https://raw.githubusercontent.com/cinnyapp/cinny-desktop/main/resources/screenshot3.png</image>
</screenshot>
</screenshots>
<releases>
<release version="2.0.3" date="2022-05-15"/>
</releases>
<content_rating type="oars-1.1"/>
</component>

View File

@@ -0,0 +1,12 @@
[Desktop Entry]
Version=1.0
Type=Application
Name=Cinny
Comment=Yet another matrix client with simple, elegant and secure interface.
Icon=cinny
Exec=cinny
Terminal=false
Categories=Network;InstantMessaging;
Keywords=Matrix;matrix.org;chat;irc;communications;talk;riot;element;fractal;voip;
X-Purism-FormFactor=Workstation;Mobile;

BIN
resources/screenshot1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

BIN
resources/screenshot2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 266 KiB

BIN
resources/screenshot3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 172 KiB

View File

@@ -69,13 +69,13 @@ async function createTauriRelease() {
platforms: {}, platforms: {},
}; };
if (win64.url) releaseData.platforms.win64 = win64; if (win64.url) releaseData.platforms["windows-x86_64"] = win64;
else console.error('Failed to get release for win64'); else console.error('Failed to get release for win64');
if (linux.url) releaseData.platforms.linux = linux; if (linux.url) releaseData.platforms["linux-x86_64"] = linux;
else console.error('Failed to get release for linux'); else console.error('Failed to get release for linux');
if (darwin.url) releaseData.platforms.darwin = darwin; if (darwin.url) releaseData.platforms["darwin-x86_64"] = darwin;
else console.error('Failed to get release for darwin'); else console.error('Failed to get release for darwin');
const releaseResult = await repos.getReleaseByTag({ ...repoMetaData, tag: 'tauri' }); const releaseResult = await repos.getReleaseByTag({ ...repoMetaData, tag: 'tauri' });

1757
src-tauri/Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,23 +1,23 @@
[package]
name = "app"
version = "0.1.0"
description = "A Tauri App"
authors = ["you"]
license = ""
repository = ""
default-run = "app"
edition = "2021"
rust-version = "1.57"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[package]
name = "cinny"
version = "2.0.4"
description = "Yet another matrix client"
authors = ["Ajay Bura"]
license = "MIT"
repository = "https://github.com/cinnyapp/cinny-desktop"
default-run = "cinny"
edition = "2021"
rust-version = "1.61"
[build-dependencies] [build-dependencies]
tauri-build = { version = "1.0.0-rc.4", features = [] } tauri-build = { version = "1.0.0-rc.12", features = [] }
[dependencies] [dependencies]
serde_json = "1.0" serde_json = "1.0.81"
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0.137", features = ["derive"] }
tauri = { version = "1.0.0-rc.4", features = ["api-all", "updater"] } tauri = { version = "1.0.0-rc.14", features = ["api-all", "devtools", "updater"] }
[features] [features]
# by default Tauri runs in production mode # by default Tauri runs in production mode

View File

@@ -3,8 +3,16 @@
windows_subsystem = "windows" windows_subsystem = "windows"
)] )]
#[cfg(target_os = "macos")]
mod menu;
fn main() { fn main() {
tauri::Builder::default() let builder = tauri::Builder::default();
#[cfg(target_os = "macos")]
let builder = builder.menu(menu::menu());
builder
.run(tauri::generate_context!()) .run(tauri::generate_context!())
.expect("error while running tauri application"); .expect("error while running tauri application");
} }

41
src-tauri/src/menu.rs Normal file
View File

@@ -0,0 +1,41 @@
use tauri::{AboutMetadata, Menu, MenuItem, Submenu};
//for macOS
pub(crate) fn menu() -> Menu {
Menu::new()
.add_submenu(Submenu::new(
"Cinny",
Menu::new()
.add_native_item(MenuItem::About(
"Cinny".to_string(),
AboutMetadata::new(),
))
.add_native_item(MenuItem::Separator)
.add_native_item(MenuItem::Hide)
.add_native_item(MenuItem::HideOthers)
.add_native_item(MenuItem::ShowAll)
.add_native_item(MenuItem::Separator)
.add_native_item(MenuItem::Quit),
))
.add_submenu(Submenu::new(
"Edit",
Menu::new()
.add_native_item(MenuItem::Undo)
.add_native_item(MenuItem::Redo)
.add_native_item(MenuItem::Separator)
.add_native_item(MenuItem::Cut)
.add_native_item(MenuItem::Copy)
.add_native_item(MenuItem::Paste)
.add_native_item(MenuItem::SelectAll),
))
.add_submenu(Submenu::new(
"View",
Menu::new()
.add_native_item(MenuItem::EnterFullScreen),
))
.add_submenu(Submenu::new(
"Window",
Menu::new()
.add_native_item(MenuItem::Minimize)
.add_native_item(MenuItem::Zoom),
))
}

View File

@@ -1,12 +1,12 @@
{ {
"package": { "package": {
"productName": "Cinny", "productName": "Cinny",
"version": "1.8.2" "version": "2.0.4"
}, },
"build": { "build": {
"distDir": "../cinny/dist", "distDir": "../cinny/dist",
"devPath": "http://localhost:8080", "devPath": "http://localhost:8080",
"beforeDevCommand": "", "beforeDevCommand": "cd cinny && npm start",
"beforeBuildCommand": "cd cinny && npm run build" "beforeBuildCommand": "cd cinny && npm run build"
}, },
"tauri": { "tauri": {
@@ -24,17 +24,15 @@
"resources": [], "resources": [],
"externalBin": [], "externalBin": [],
"copyright": "", "copyright": "",
"category": "DeveloperTool", "category": "SocialNetworking",
"shortDescription": "", "shortDescription": "Yet another matrix client",
"longDescription": "", "longDescription": "",
"deb": { "deb": {
"depends": [], "depends": []
"useBootstrapper": false
}, },
"macOS": { "macOS": {
"frameworks": [], "frameworks": [],
"minimumSystemVersion": "", "minimumSystemVersion": "",
"useBootstrapper": false,
"exceptionDomain": "", "exceptionDomain": "",
"signingIdentity": null, "signingIdentity": null,
"providerShortName": null, "providerShortName": null,
@@ -52,7 +50,7 @@
"https://github.com/cinnyapp/cinny-desktop/releases/download/tauri/release.json" "https://github.com/cinnyapp/cinny-desktop/releases/download/tauri/release.json"
], ],
"dialog": true, "dialog": true,
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDZDMDFFMjlBMzUyODRGNTEKUldSUlR5ZzFtdUlCYk44dkZkRDI3alhoWFhWWk1TL3BZWUJIMUZqTlU5NUNXYmhCVmJ1VzNVcDAK" "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDE2NDc3NDBGMTAzNTk1NUYKUldSZmxUVVFEM1JIRnRuMjVRTkFOQ21lUFI5KzRMU0s4OWtBS1RNRUVCNE9LcE9GcExNZ2M2NHoK"
}, },
"allowlist": { "allowlist": {
"all": true "all": true
@@ -62,8 +60,10 @@
"title": "Cinny", "title": "Cinny",
"width": 1024, "width": 1024,
"height": 724, "height": 724,
"center": true,
"resizable": true, "resizable": true,
"fullscreen": false "fullscreen": false,
"fileDropEnabled": false
} }
], ],
"security": { "security": {