Compare commits

...

28 Commits

Author SHA1 Message Date
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
16 changed files with 825 additions and 962 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

@@ -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.1.1
with:
node-version: 16
- name: Install Rust stable
uses: actions-rs/toolchain@v1.0.7
with:
toolchain: stable
- name: Install webkit2gtk (ubuntu only)
if: matrix.platform == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install -y webkit2gtk-4.0
- 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.

19
README.md Normal file
View File

@@ -0,0 +1,19 @@
# Cinny desktop
Dekstop app of Cinny made with Tauri. Cinny is a matrix client focusing primarily on simple, elegant and secure interface.
## 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...69b6055353

192
package-lock.json generated
View File

@@ -1,19 +1,19 @@
{ {
"name": "cinny", "name": "cinny",
"version": "1.8.2", "version": "2.0.3",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "cinny", "name": "cinny",
"version": "1.8.2", "version": "2.0.3",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@tauri-apps/api": "^1.0.0-rc.2" "@tauri-apps/api": "^1.0.0-rc.5"
}, },
"devDependencies": { "devDependencies": {
"@actions/github": "^5.0.0", "@actions/github": "^5.0.0",
"@tauri-apps/cli": "^1.0.0-rc.7", "@tauri-apps/cli": "^1.0.0-rc.10",
"node-fetch": "^3.2.3" "node-fetch": "^3.2.3"
}, },
"engines": { "engines": {
@@ -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.5",
"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.5.tgz",
"integrity": "sha512-JhUDCJpfxmf/S1R+yHmJGsher4CGi07Qv4fYeucB7naeFZ7yTQe7S1CHKUZaRYpurGSdwOF3my9k0LyGmpAGYw==", "integrity": "sha512-IiQg7pLByl/W3KRx9Whn1EWh9ZrBojkl9FAgCRJ4//e58var1WmNPHA92YC0i0DLSIF0JLLp0EQKRHJa+aaqlQ==",
"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.10",
"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.10.tgz",
"integrity": "sha512-g7lUsI2iFiB2JuPFr209vWNqOnxCOGXN6yBttMRY+94UUXZOeWlKxYYpSabyjSr7EbfAUNzjITYmE4urdtmB+A==", "integrity": "sha512-njDei3F3mlnotnujUF0jWteZC39RCm6JNAxZpzTFvWKFI/650DoA9hHTMa6onbazVgmOWdrbMHYWU/xBC/jUTw==",
"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.10",
"@tauri-apps/cli-darwin-x64": "1.0.0-rc.7", "@tauri-apps/cli-darwin-x64": "1.0.0-rc.10",
"@tauri-apps/cli-linux-arm-gnueabihf": "1.0.0-rc.7", "@tauri-apps/cli-linux-arm-gnueabihf": "1.0.0-rc.10",
"@tauri-apps/cli-linux-arm64-gnu": "1.0.0-rc.7", "@tauri-apps/cli-linux-arm64-gnu": "1.0.0-rc.10",
"@tauri-apps/cli-linux-arm64-musl": "1.0.0-rc.7", "@tauri-apps/cli-linux-arm64-musl": "1.0.0-rc.10",
"@tauri-apps/cli-linux-x64-gnu": "1.0.0-rc.7", "@tauri-apps/cli-linux-x64-gnu": "1.0.0-rc.10",
"@tauri-apps/cli-linux-x64-musl": "1.0.0-rc.7", "@tauri-apps/cli-linux-x64-musl": "1.0.0-rc.10",
"@tauri-apps/cli-win32-ia32-msvc": "1.0.0-rc.7", "@tauri-apps/cli-win32-ia32-msvc": "1.0.0-rc.10",
"@tauri-apps/cli-win32-x64-msvc": "1.0.0-rc.7" "@tauri-apps/cli-win32-x64-msvc": "1.0.0-rc.10"
} }
}, },
"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.10",
"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.10.tgz",
"integrity": "sha512-fb1plxZZHDG0KwZOoAl6tuisFU+oZFtNtqK3V2KL+4hz75DyH6BfsrgjyYSecJrtQejL2cHi8q7vUsU+EeLopw==", "integrity": "sha512-KwnAAsR+H/U9NPF2P3UvZ0orfh/e8ng639GCvQoN/7b/EYzkLXYWGFd1sddTSSu8BM4OvIVXK1B86pn1xFohyg==",
"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.10",
"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.10.tgz",
"integrity": "sha512-FOFPNsYUgCDaxEK+9oQ3vv9bMD3XVcOKdh1vo/DImzZNO6fQkcsDC8zlmA+Q4axd+X8kvu0iti1fK8Vl7HIUEA==", "integrity": "sha512-xIH+UnZPofpx4n3aphu2SD45uPXtX3rlsI5aO0ANsDWN/esuAAwRnh+JR+NlmJXPKwy1BNz9pewczE5JO5BdqA==",
"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.10",
"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.10.tgz",
"integrity": "sha512-tFzcJtNHy5AInU3E7kKDyhg4Qb7csu3uZ3FhGfORmGvQAiNQFpGV3ypC230RQYa3sxxRMbn8vjUAZMlU6JArbA==", "integrity": "sha512-j0cVDcP7MPyOh8mC6pTiOnsGgxMc4GFlQGBUvriRkWFCrUbZPbq1Pxt/eTcroVGsT/ItCXvnYd9jEQ+e50LI3A==",
"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.10",
"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.10.tgz",
"integrity": "sha512-QAoNUJMmoCv/mDZsfEZOOTeEPYuxtMgCgqTDqMd0H8S0Y3Cu2D/Q2fwVl0s9pMb6wLD2GJ2FEneySEMhMxt7Pg==", "integrity": "sha512-usdftJI/Jx0Z6TK8YJaHp2BtcNlvHeIUOnh3SmThbbYzDSFDqEW2E/McbxEhJJ13FPLVMLiIZYPpH26gE3vQxw==",
"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.10",
"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.10.tgz",
"integrity": "sha512-ieLyACtbY7ezReTnjWLw/kKDXRCbnbrUjQ+hltSmHaRuV51nX+I2rmFO5e7VPdj406jvyKwfSPuBC34bHxt3Og==", "integrity": "sha512-zsOhkc477mbe5wSkNuLv+D6RmQvDiaV8rHTaur+B/pxk9F0SrCYoO0Slf6x08bIiSkjyL/gN0PxnOBbEBA0u4A==",
"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.10",
"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.10.tgz",
"integrity": "sha512-wPAZctuFpurACxdCrjw+aaSuFReuIvv1nalVezfqA78AlsCk785yF2YVjoZr5bT8a9+6F+t8uNi3l6Vp5oNqwQ==", "integrity": "sha512-ongWuhXieKwW+xaYPshw/59xYbZVH6JNw+KRb/054VFnfZe/ZDYbN86mCJIlegOq9WAkdc0XSm1EEDx3i9FYCg==",
"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.10",
"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.10.tgz",
"integrity": "sha512-/AxuXFC2d1V8KpZJ6cFDcD5QqPFIZFXC/tAJlnTW75VnHgjat9TYP3BdSOuEA81ZLs9tV4PQF40tNnUSzfRYMg==", "integrity": "sha512-3AXJEdhFlX/erLBXmBkRG+oWfFLMMaJALSnxvzerteSNWiaEzTngy9Mo1yeAT51FhvJ+dbYQv0BWvPPFRYzpTQ==",
"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.10",
"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.10.tgz",
"integrity": "sha512-C4M2rHXlYVPSHGl2Iax1rfiNM5GPSRP1JHxW7/4jH9FfW6mVFcjULZAyVMRfOMQEQ9bYXbVnSTPbhG2Fm0jPxQ==", "integrity": "sha512-2SvSk9z51AfCsbch2fvX4GNo3s0b8TO/Kd9B6rDIZ7TUxwnGShJNup2+KGvBovKqFAPmgyrSbgyEMKhKc1B4iA==",
"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.10",
"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.10.tgz",
"integrity": "sha512-lpstJKOtP+ahhjbutapA02TpvfNTZqXwhmA1fvqxDu6BYVezFn7ZiGG5HwdXlkiRDfbwZwBd1evdkV3MxwY1NQ==", "integrity": "sha512-mijSjeQGBGh6rvpkrqsSiTB4vwGprAXoDCmnIxliZ1Md4GgLMh8jzIug1UKAUmmIW1nOaQ9C9xu4wQXyoRqWHg==",
"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"
}, },
@@ -675,90 +675,90 @@
} }
}, },
"@tauri-apps/api": { "@tauri-apps/api": {
"version": "1.0.0-rc.2", "version": "1.0.0-rc.5",
"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.5.tgz",
"integrity": "sha512-JhUDCJpfxmf/S1R+yHmJGsher4CGi07Qv4fYeucB7naeFZ7yTQe7S1CHKUZaRYpurGSdwOF3my9k0LyGmpAGYw==", "integrity": "sha512-IiQg7pLByl/W3KRx9Whn1EWh9ZrBojkl9FAgCRJ4//e58var1WmNPHA92YC0i0DLSIF0JLLp0EQKRHJa+aaqlQ==",
"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.10",
"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.10.tgz",
"integrity": "sha512-g7lUsI2iFiB2JuPFr209vWNqOnxCOGXN6yBttMRY+94UUXZOeWlKxYYpSabyjSr7EbfAUNzjITYmE4urdtmB+A==", "integrity": "sha512-njDei3F3mlnotnujUF0jWteZC39RCm6JNAxZpzTFvWKFI/650DoA9hHTMa6onbazVgmOWdrbMHYWU/xBC/jUTw==",
"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.10",
"@tauri-apps/cli-darwin-x64": "1.0.0-rc.7", "@tauri-apps/cli-darwin-x64": "1.0.0-rc.10",
"@tauri-apps/cli-linux-arm-gnueabihf": "1.0.0-rc.7", "@tauri-apps/cli-linux-arm-gnueabihf": "1.0.0-rc.10",
"@tauri-apps/cli-linux-arm64-gnu": "1.0.0-rc.7", "@tauri-apps/cli-linux-arm64-gnu": "1.0.0-rc.10",
"@tauri-apps/cli-linux-arm64-musl": "1.0.0-rc.7", "@tauri-apps/cli-linux-arm64-musl": "1.0.0-rc.10",
"@tauri-apps/cli-linux-x64-gnu": "1.0.0-rc.7", "@tauri-apps/cli-linux-x64-gnu": "1.0.0-rc.10",
"@tauri-apps/cli-linux-x64-musl": "1.0.0-rc.7", "@tauri-apps/cli-linux-x64-musl": "1.0.0-rc.10",
"@tauri-apps/cli-win32-ia32-msvc": "1.0.0-rc.7", "@tauri-apps/cli-win32-ia32-msvc": "1.0.0-rc.10",
"@tauri-apps/cli-win32-x64-msvc": "1.0.0-rc.7" "@tauri-apps/cli-win32-x64-msvc": "1.0.0-rc.10"
} }
}, },
"@tauri-apps/cli-darwin-arm64": { "@tauri-apps/cli-darwin-arm64": {
"version": "1.0.0-rc.7", "version": "1.0.0-rc.10",
"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.10.tgz",
"integrity": "sha512-fb1plxZZHDG0KwZOoAl6tuisFU+oZFtNtqK3V2KL+4hz75DyH6BfsrgjyYSecJrtQejL2cHi8q7vUsU+EeLopw==", "integrity": "sha512-KwnAAsR+H/U9NPF2P3UvZ0orfh/e8ng639GCvQoN/7b/EYzkLXYWGFd1sddTSSu8BM4OvIVXK1B86pn1xFohyg==",
"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.10",
"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.10.tgz",
"integrity": "sha512-FOFPNsYUgCDaxEK+9oQ3vv9bMD3XVcOKdh1vo/DImzZNO6fQkcsDC8zlmA+Q4axd+X8kvu0iti1fK8Vl7HIUEA==", "integrity": "sha512-xIH+UnZPofpx4n3aphu2SD45uPXtX3rlsI5aO0ANsDWN/esuAAwRnh+JR+NlmJXPKwy1BNz9pewczE5JO5BdqA==",
"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.10",
"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.10.tgz",
"integrity": "sha512-tFzcJtNHy5AInU3E7kKDyhg4Qb7csu3uZ3FhGfORmGvQAiNQFpGV3ypC230RQYa3sxxRMbn8vjUAZMlU6JArbA==", "integrity": "sha512-j0cVDcP7MPyOh8mC6pTiOnsGgxMc4GFlQGBUvriRkWFCrUbZPbq1Pxt/eTcroVGsT/ItCXvnYd9jEQ+e50LI3A==",
"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.10",
"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.10.tgz",
"integrity": "sha512-QAoNUJMmoCv/mDZsfEZOOTeEPYuxtMgCgqTDqMd0H8S0Y3Cu2D/Q2fwVl0s9pMb6wLD2GJ2FEneySEMhMxt7Pg==", "integrity": "sha512-usdftJI/Jx0Z6TK8YJaHp2BtcNlvHeIUOnh3SmThbbYzDSFDqEW2E/McbxEhJJ13FPLVMLiIZYPpH26gE3vQxw==",
"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.10",
"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.10.tgz",
"integrity": "sha512-ieLyACtbY7ezReTnjWLw/kKDXRCbnbrUjQ+hltSmHaRuV51nX+I2rmFO5e7VPdj406jvyKwfSPuBC34bHxt3Og==", "integrity": "sha512-zsOhkc477mbe5wSkNuLv+D6RmQvDiaV8rHTaur+B/pxk9F0SrCYoO0Slf6x08bIiSkjyL/gN0PxnOBbEBA0u4A==",
"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.10",
"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.10.tgz",
"integrity": "sha512-wPAZctuFpurACxdCrjw+aaSuFReuIvv1nalVezfqA78AlsCk785yF2YVjoZr5bT8a9+6F+t8uNi3l6Vp5oNqwQ==", "integrity": "sha512-ongWuhXieKwW+xaYPshw/59xYbZVH6JNw+KRb/054VFnfZe/ZDYbN86mCJIlegOq9WAkdc0XSm1EEDx3i9FYCg==",
"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.10",
"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.10.tgz",
"integrity": "sha512-/AxuXFC2d1V8KpZJ6cFDcD5QqPFIZFXC/tAJlnTW75VnHgjat9TYP3BdSOuEA81ZLs9tV4PQF40tNnUSzfRYMg==", "integrity": "sha512-3AXJEdhFlX/erLBXmBkRG+oWfFLMMaJALSnxvzerteSNWiaEzTngy9Mo1yeAT51FhvJ+dbYQv0BWvPPFRYzpTQ==",
"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.10",
"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.10.tgz",
"integrity": "sha512-C4M2rHXlYVPSHGl2Iax1rfiNM5GPSRP1JHxW7/4jH9FfW6mVFcjULZAyVMRfOMQEQ9bYXbVnSTPbhG2Fm0jPxQ==", "integrity": "sha512-2SvSk9z51AfCsbch2fvX4GNo3s0b8TO/Kd9B6rDIZ7TUxwnGShJNup2+KGvBovKqFAPmgyrSbgyEMKhKc1B4iA==",
"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.10",
"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.10.tgz",
"integrity": "sha512-lpstJKOtP+ahhjbutapA02TpvfNTZqXwhmA1fvqxDu6BYVezFn7ZiGG5HwdXlkiRDfbwZwBd1evdkV3MxwY1NQ==", "integrity": "sha512-mijSjeQGBGh6rvpkrqsSiTB4vwGprAXoDCmnIxliZ1Md4GgLMh8jzIug1UKAUmmIW1nOaQ9C9xu4wQXyoRqWHg==",
"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,6 +1,6 @@
{ {
"name": "cinny", "name": "cinny",
"version": "1.8.2", "version": "2.0.3",
"description": "Yet another matrix client", "description": "Yet another matrix client",
"main": "index.js", "main": "index.js",
"engines": { "engines": {
@@ -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.5"
}, },
"devDependencies": { "devDependencies": {
"@actions/github": "^5.0.0", "@actions/github": "^5.0.0",
"@tauri-apps/cli": "^1.0.0-rc.7", "@tauri-apps/cli": "^1.0.0-rc.10",
"node-fetch": "^3.2.3" "node-fetch": "^3.2.3"
} }
} }

View File

@@ -0,0 +1,81 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2022 Ajay Bura <ajbura@gmail.com> -->
<component type="desktop">
<id>in.cinny.Cinny</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>MIT</project_license>
<name>Cinny</name>
<summary>Yet another matrix client</summary>
<description>
<p>
Cinny is a matrix client focusing primarily on simple, elegant and secure interface.
</p>
</description>
<provides>
<binary>cinny</binary>
</provides>
<developer_name>Ajay Bura</developer_name>
<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>
<content_rating type="oars-1.1">
<content_attribute id="violence-cartoon">none</content_attribute>
<content_attribute id="violence-fantasy">none</content_attribute>
<content_attribute id="violence-realistic">none</content_attribute>
<content_attribute id="violence-bloodshed">none</content_attribute>
<content_attribute id="violence-sexual">none</content_attribute>
<content_attribute id="violence-desecration">none</content_attribute>
<content_attribute id="violence-slavery">none</content_attribute>
<content_attribute id="violence-worship">none</content_attribute>
<content_attribute id="drugs-alcohol">none</content_attribute>
<content_attribute id="drugs-narcotics">none</content_attribute>
<content_attribute id="drugs-tobacco">none</content_attribute>
<content_attribute id="sex-nudity">none</content_attribute>
<content_attribute id="sex-themes">none</content_attribute>
<content_attribute id="sex-homosexuality">none</content_attribute>
<content_attribute id="sex-prostitution">none</content_attribute>
<content_attribute id="sex-adultery">none</content_attribute>
<content_attribute id="sex-appearance">none</content_attribute>
<content_attribute id="language-profanity">intense</content_attribute>
<content_attribute id="language-humor">none</content_attribute>
<content_attribute id="language-discrimination">none</content_attribute>
<content_attribute id="social-chat">none</content_attribute>
<content_attribute id="social-info">none</content_attribute>
<content_attribute id="social-audio">none</content_attribute>
<content_attribute id="social-location">none</content_attribute>
<content_attribute id="social-contacts">none</content_attribute>
<content_attribute id="money-purchasing">none</content_attribute>
<content_attribute id="money-gambling">none</content_attribute>
</content_rating>
<custom>
<value key="Purism::form_factor">workstation</value>
<value key="Purism::form_factor">mobile</value>
</custom>
<screenshots>
<screenshot type="default">
<image>https://github.com/cinnyapp/cinny-desktop/media/branch/main/resources/screenshot1.png</image>
</screenshot>
<screenshot>
<image>https://github.com/cinnyapp/cinny-desktop/media/branch/main/resources/screenshot2.png</image>
</screenshot>
<screenshot>
<image>https://github.com/cinnyapp/cinny-desktop/media/branch/main/resources/screenshot3.png</image>
</screenshot>
</screenshots>
<releases>
<release version="2.0.0" date="2022-05-09">
<description>
<ul>
<li>2.0.0 release.</li>
</ul>
</description>
</release>
</releases>
</component>

View File

@@ -0,0 +1,10 @@
[Desktop Entry]
Type=Application
Name=Cinny
Comment=A matrix client with focus on simple, elegant and secure interface.
Exec=cinny
Icon=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

1353
src-tauri/Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,23 +1,23 @@
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[package] [package]
name = "app" name = "cinny"
version = "0.1.0" version = "2.0.3"
description = "A Tauri App" description = "Yet another matrix client"
authors = ["you"] authors = ["Ajay Bura"]
license = "" license = "MIT"
repository = "" repository = "https://github.com/cinnyapp/cinny-desktop"
default-run = "app" default-run = "cinny"
edition = "2021" edition = "2021"
rust-version = "1.57" rust-version = "1.57"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[build-dependencies] [build-dependencies]
tauri-build = { version = "1.0.0-rc.4", features = [] } tauri-build = { version = "1.0.0-rc.8", 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.9", features = ["api-all", "updater"] }
[features] [features]
# by default Tauri runs in production mode # by default Tauri runs in production mode

View File

@@ -1,12 +1,12 @@
{ {
"package": { "package": {
"productName": "Cinny", "productName": "cinny",
"version": "1.8.2" "version": "2.0.3"
}, },
"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": "",
"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,6 +60,7 @@
"title": "Cinny", "title": "Cinny",
"width": 1024, "width": 1024,
"height": 724, "height": 724,
"center": true,
"resizable": true, "resizable": true,
"fullscreen": false "fullscreen": false
} }