Compare commits
81 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2905fde325 | ||
|
|
740c0ce2d7 | ||
|
|
2af31a8041 | ||
|
|
17a1563e75 | ||
|
|
cdd8633246 | ||
|
|
cdb3d9bd90 | ||
|
|
4a24b840b2 | ||
|
|
5f2c45f305 | ||
|
|
84826aec5e | ||
|
|
d93dc20562 | ||
|
|
53cbd144a7 | ||
|
|
9df1a47b46 | ||
|
|
97db98a630 | ||
|
|
d505dbd985 | ||
|
|
7cc558d826 | ||
|
|
12f2e431a9 | ||
|
|
86b78d5cde | ||
|
|
017499249a | ||
|
|
dcf12887d1 | ||
|
|
a5bcefbe55 | ||
|
|
c4e6759094 | ||
|
|
cac2ee6a57 | ||
|
|
b1fd5ea619 | ||
|
|
8292747413 | ||
|
|
b190d83911 | ||
|
|
b5d8c4d9db | ||
|
|
1decca9c32 | ||
|
|
25dd02b39c | ||
|
|
12bcc7830d | ||
|
|
c3f0dbf209 | ||
|
|
4f4892d545 | ||
|
|
d8eacb4673 | ||
|
|
747666fa42 | ||
|
|
671ff5f4c1 | ||
|
|
800ad4e486 | ||
|
|
e4c5c7ec21 | ||
|
|
a94724fbe7 | ||
|
|
f8cf713415 | ||
|
|
6485cf5e9a | ||
|
|
b1ea1bffef | ||
|
|
12c0647bcf | ||
|
|
5215d6e6e9 | ||
|
|
bbc296c6b5 | ||
|
|
2b764d035e | ||
|
|
1211b0ea69 | ||
|
|
c8399677b5 | ||
|
|
e7e7a31daa | ||
|
|
1389a41ec4 | ||
|
|
065fcdc56c | ||
|
|
d340f96a6b | ||
|
|
1b41c74b32 | ||
|
|
16d6eab673 | ||
|
|
09c53e4e92 | ||
|
|
463cbc45b4 | ||
|
|
f75398c772 | ||
|
|
6e1d213c93 | ||
|
|
a128d8d33d | ||
|
|
0c876e0ab2 | ||
|
|
4457b796a7 | ||
|
|
f4383b89bb | ||
|
|
231a3a9c68 | ||
|
|
74ae0eb8a4 | ||
|
|
85236350a6 | ||
|
|
30f5315f97 | ||
|
|
d06bd48182 | ||
|
|
85fcc432b6 | ||
|
|
71d8e8c1a9 | ||
|
|
d22109511c | ||
|
|
0a26b7a4c7 | ||
|
|
df6cbe3ef4 | ||
|
|
42f685a26e | ||
|
|
63ecc20364 | ||
|
|
1ecdddde26 | ||
|
|
912d7394ab | ||
|
|
d09f13977d | ||
|
|
e40c557965 | ||
|
|
2edf006e1e | ||
|
|
10f84565c1 | ||
|
|
721103f5b1 | ||
|
|
bc937d20a4 | ||
|
|
2dd451d012 |
5
.github/FUNDING.yml
vendored
5
.github/FUNDING.yml
vendored
@@ -1,2 +1,3 @@
|
|||||||
open_collective: cinny
|
github: ajbura
|
||||||
liberapay: ajbura
|
liberapay: ajbura
|
||||||
|
open_collective: cinny
|
||||||
2
.github/PULL_REQUEST_TEMPLATE.md
vendored
2
.github/PULL_REQUEST_TEMPLATE.md
vendored
@@ -1,4 +1,4 @@
|
|||||||
<!-- Please read https://github.com/ajbura/cinny/CONTRIBUTING.md before submitting your pull request -->
|
<!-- Please read https://github.com/cinnyapp/cinny/blob/dev/CONTRIBUTING.md before submitting your pull request -->
|
||||||
|
|
||||||
### Description
|
### Description
|
||||||
<!-- Please include a summary of the change. Please also include relevant motivation and context. List any dependencies that are required for this change. -->
|
<!-- Please include a summary of the change. Please also include relevant motivation and context. List any dependencies that are required for this change. -->
|
||||||
|
|||||||
301
.github/workflows/tauri.yml
vendored
301
.github/workflows/tauri.yml
vendored
@@ -4,89 +4,230 @@ on:
|
|||||||
types: [published]
|
types: [published]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish-tauri:
|
# Windows-x86_64
|
||||||
strategy:
|
windows-x86_64:
|
||||||
fail-fast: false
|
runs-on: windows-latest
|
||||||
matrix:
|
|
||||||
platform: [macos-latest, ubuntu-latest, windows-latest]
|
|
||||||
|
|
||||||
runs-on: ${{ matrix.platform }}
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3.0.2
|
uses: actions/checkout@v3.0.2
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
- name: Get release
|
- name: Get release
|
||||||
id: get_release
|
id: get_release
|
||||||
uses: bruceadams/get-release@3a8733307b85cd96d52772b037617bd63d99522e
|
uses: bruceadams/get-release@3a8733307b85cd96d52772b037617bd63d99522e
|
||||||
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.4.1
|
||||||
with:
|
with:
|
||||||
node-version: 16
|
node-version: 17.9.0
|
||||||
- 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 cinny dependencies
|
||||||
if: matrix.platform == 'ubuntu-latest'
|
run: cd cinny && npm ci
|
||||||
run: |
|
- name: Install tauri dependencies
|
||||||
sudo apt-get update
|
run: npm ci
|
||||||
sudo apt-get install -y webkit2gtk-4.0
|
- name: Build desktop app with Tauri
|
||||||
- name: Install cinny dependencies
|
uses: tauri-apps/tauri-action@v0.3.1
|
||||||
run: cd cinny && npm ci
|
env:
|
||||||
- name: Install tauri dependencies
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: npm ci
|
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
|
||||||
- name: Build desktop app with Tauri
|
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
|
||||||
uses: tauri-apps/tauri-action@v0.3.0
|
with:
|
||||||
env:
|
releaseId: ${{ steps.get_release.outputs.upload_url }}
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
- name: Get app version (windows)
|
||||||
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
|
run: |
|
||||||
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
|
$json = (Get-Content "src-tauri\tauri.conf.json" -Raw) | ConvertFrom-Json
|
||||||
with:
|
$version = $json.package.version
|
||||||
releaseId: ${{ steps.get_release.outputs.upload_url }}
|
echo "Version: ${version}"
|
||||||
- name: Get app version (macos, ubuntu)
|
echo "TAURI_VERSION=${version}" >> $Env:GITHUB_ENV
|
||||||
if: matrix.platform != 'windows-latest'
|
echo "${Env:TAURI_VERSION}"
|
||||||
id: vars
|
shell: pwsh
|
||||||
run: echo ::set-output name=tag::$(jq .package.version src-tauri/tauri.conf.json | tr -d '"')
|
- name: Move msi
|
||||||
- name: Upload tagged release (macos)
|
run: mv "src-tauri\target\release\bundle\msi\Cinny_${{ env.TAURI_VERSION }}_x64_en-US.msi" "src-tauri\target\release\bundle\msi\Cinny_desktop-x86_64.msi"
|
||||||
if: matrix.platform == 'macos-latest'
|
- name: Move msi.zip
|
||||||
uses: softprops/action-gh-release@1e07f4398721186383de40550babbdf2b84acfc5
|
run: mv "src-tauri\target\release\bundle\msi\Cinny_${{ env.TAURI_VERSION }}_x64_en-US.msi.zip" "src-tauri\target\release\bundle\msi\Cinny_desktop-x86_64.msi.zip"
|
||||||
with:
|
- name: Move msi.zip.sig
|
||||||
files: |
|
run: mv "src-tauri\target\release\bundle\msi\Cinny_${{ env.TAURI_VERSION }}_x64_en-US.msi.zip.sig" "src-tauri\target\release\bundle\msi\Cinny_desktop-x86_64.msi.zip.gz"
|
||||||
src-tauri/target/release/bundle/dmg/cinny_${{ steps.vars.outputs.tag }}_x64.dmg
|
- name: Upload tagged release
|
||||||
src-tauri/target/release/bundle/macos/cinny.app.tar.gz
|
uses: softprops/action-gh-release@1e07f4398721186383de40550babbdf2b84acfc5
|
||||||
src-tauri/target/release/bundle/macos/cinny.app.tar.gz.sig
|
with:
|
||||||
- name: Upload tagged release (ubuntu)
|
files: |
|
||||||
if: matrix.platform == 'ubuntu-latest'
|
src-tauri\target\release\bundle\msi\Cinny_desktop-x86_64.msi
|
||||||
uses: softprops/action-gh-release@1e07f4398721186383de40550babbdf2b84acfc5
|
src-tauri\target\release\bundle\msi\Cinny_desktop-x86_64.msi.zip
|
||||||
with:
|
src-tauri\target\release\bundle\msi\Cinny_desktop-x86_64.msi.zip.sig
|
||||||
files: |
|
|
||||||
src-tauri/target/release/bundle/deb/cinny_${{ steps.vars.outputs.tag }}_amd64.deb
|
|
||||||
src-tauri/target/release/bundle/appimage/cinny_${{ steps.vars.outputs.tag }}_amd64.AppImage
|
|
||||||
src-tauri/target/release/bundle/appimage/cinny_${{ steps.vars.outputs.tag }}_amd64.AppImage.tar.gz
|
|
||||||
src-tauri/target/release/bundle/appimage/cinny_${{ steps.vars.outputs.tag }}_amd64.AppImage.tar.gz.sig
|
|
||||||
- name: Get app version (windows)
|
|
||||||
if: matrix.platform == 'windows-latest'
|
|
||||||
run: |
|
|
||||||
$json = (Get-Content "src-tauri\tauri.conf.json" -Raw) | ConvertFrom-Json
|
|
||||||
$version = $json.package.version
|
|
||||||
echo "Version: ${version}"
|
|
||||||
echo "TAURI_VERSION=${version}" >> $Env:GITHUB_ENV
|
|
||||||
echo "${Env:TAURI_VERSION}"
|
|
||||||
shell: pwsh
|
|
||||||
- name: Upload tagged release (windows)
|
|
||||||
if: matrix.platform == 'windows-latest'
|
|
||||||
uses: softprops/action-gh-release@1e07f4398721186383de40550babbdf2b84acfc5
|
|
||||||
with:
|
|
||||||
files: |
|
|
||||||
src-tauri\target\release\bundle\msi\cinny_${{ env.TAURI_VERSION }}_x64_en-US.msi
|
|
||||||
src-tauri\target\release\bundle\msi\cinny_${{ env.TAURI_VERSION }}_x64_en-US.msi.zip
|
|
||||||
src-tauri\target\release\bundle\msi\cinny_${{ env.TAURI_VERSION }}_x64_en-US.msi.zip.sig
|
|
||||||
|
|
||||||
|
# Linux-x86_64
|
||||||
|
linux-x86_64:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v3.0.2
|
||||||
|
with:
|
||||||
|
submodules: true
|
||||||
|
- name: Get release
|
||||||
|
id: get_release
|
||||||
|
uses: bruceadams/get-release@3a8733307b85cd96d52772b037617bd63d99522e
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
- name: Setup node
|
||||||
|
uses: actions/setup-node@v3.4.1
|
||||||
|
with:
|
||||||
|
node-version: 17.9.0
|
||||||
|
- name: Install Rust stable
|
||||||
|
uses: actions-rs/toolchain@v1.0.7
|
||||||
|
with:
|
||||||
|
toolchain: stable
|
||||||
|
- name: Install dependencies
|
||||||
|
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.1
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
|
||||||
|
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
|
||||||
|
with:
|
||||||
|
releaseId: ${{ steps.get_release.outputs.upload_url }}
|
||||||
|
- name: Get app version
|
||||||
|
id: vars
|
||||||
|
run: echo ::set-output name=tag::$(jq .package.version src-tauri/tauri.conf.json | tr -d '"')
|
||||||
|
- name: Move deb
|
||||||
|
run: mv "src-tauri/target/release/bundle/deb/cinny_${{ steps.vars.outputs.tag }}_amd64.deb" "src-tauri/target/release/bundle/deb/Cinny_desktop-x86_64.deb"
|
||||||
|
- name: Move AppImage
|
||||||
|
run: mv "src-tauri/target/release/bundle/appimage/cinny_${{ steps.vars.outputs.tag }}_amd64.AppImage" "src-tauri/target/release/bundle/appimage/Cinny_desktop-x86_64.AppImage"
|
||||||
|
- name: Move AppImage.tar.gz
|
||||||
|
run: mv "src-tauri/target/release/bundle/appimage/cinny_${{ steps.vars.outputs.tag }}_amd64.AppImage.tar.gz" "src-tauri/target/release/bundle/appimage/Cinny_desktop-x86_64.AppImage.tar.gz"
|
||||||
|
- name: Move AppImage.tar.gz.sig
|
||||||
|
run: mv "src-tauri/target/release/bundle/appimage/cinny_${{ steps.vars.outputs.tag }}_amd64.AppImage.tar.gz.sig" "src-tauri/target/release/bundle/appimage/Cinny_desktop-x86_64.AppImage.tar.gz.sig"
|
||||||
|
- name: Upload tagged release
|
||||||
|
uses: softprops/action-gh-release@1e07f4398721186383de40550babbdf2b84acfc5
|
||||||
|
with:
|
||||||
|
files: |
|
||||||
|
src-tauri/target/release/bundle/deb/Cinny_desktop-x86_64.deb
|
||||||
|
src-tauri/target/release/bundle/appimage/Cinny_desktop-x86_64.AppImage
|
||||||
|
src-tauri/target/release/bundle/appimage/Cinny_desktop-x86_64.AppImage.tar.gz
|
||||||
|
src-tauri/target/release/bundle/appimage/Cinny_desktop-x86_64.AppImage.tar.gz.sig
|
||||||
|
|
||||||
|
# macos-x86_64
|
||||||
|
macos-x86_64:
|
||||||
|
runs-on: macos-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v3.0.2
|
||||||
|
with:
|
||||||
|
submodules: true
|
||||||
|
- name: Get release
|
||||||
|
id: get_release
|
||||||
|
uses: bruceadams/get-release@3a8733307b85cd96d52772b037617bd63d99522e
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
- name: Setup node
|
||||||
|
uses: actions/setup-node@v3.4.1
|
||||||
|
with:
|
||||||
|
node-version: 17.9.0
|
||||||
|
- name: Install Rust stable
|
||||||
|
uses: actions-rs/toolchain@v1.0.7
|
||||||
|
with:
|
||||||
|
toolchain: stable
|
||||||
|
- 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.1
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
|
||||||
|
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
|
||||||
|
with:
|
||||||
|
releaseId: ${{ steps.get_release.outputs.upload_url }}
|
||||||
|
- name: Get app version
|
||||||
|
id: vars
|
||||||
|
run: echo ::set-output name=tag::$(jq .package.version src-tauri/tauri.conf.json | tr -d '"')
|
||||||
|
- name: Move dmg
|
||||||
|
run: mv "src-tauri/target/release/bundle/dmg/Cinny_${{ steps.vars.outputs.tag }}_x64.dmg" "src-tauri/target/release/bundle/dmg/Cinny_desktop-x86_64.dmg"
|
||||||
|
- name: Move app.tar.gz
|
||||||
|
run: mv "src-tauri/target/release/bundle/macos/Cinny.app.tar.gz" "src-tauri/target/release/bundle/macos/Cinny_desktop-x86_64.app.tar.gz"
|
||||||
|
- name: Move app.tar.gz.sig
|
||||||
|
run: mv "src-tauri/target/release/bundle/macos/Cinny.app.tar.gz.sig" "src-tauri/target/release/bundle/macos/Cinny_desktop-x86_64.app.tar.gz.sig"
|
||||||
|
- name: Upload tagged release
|
||||||
|
uses: softprops/action-gh-release@1e07f4398721186383de40550babbdf2b84acfc5
|
||||||
|
with:
|
||||||
|
files: |
|
||||||
|
src-tauri/target/release/bundle/dmg/Cinny_desktop-x86_64.dmg
|
||||||
|
src-tauri/target/release/bundle/macos/Cinny_desktop-x86_64.app.tar.gz
|
||||||
|
src-tauri/target/release/bundle/macos/Cinny_desktop-x86_64.app.tar.gz.sig
|
||||||
|
|
||||||
|
# macos-aarch64
|
||||||
|
# macos-aarch64:
|
||||||
|
# runs-on: macos-12
|
||||||
|
# steps:
|
||||||
|
# - name: Checkout repository
|
||||||
|
# uses: actions/checkout@v3.0.2
|
||||||
|
# with:
|
||||||
|
# submodules: true
|
||||||
|
# - name: Get release
|
||||||
|
# id: get_release
|
||||||
|
# uses: bruceadams/get-release@3a8733307b85cd96d52772b037617bd63d99522e
|
||||||
|
# env:
|
||||||
|
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
# - name: Setup node
|
||||||
|
# uses: actions/setup-node@v3.4.1
|
||||||
|
# with:
|
||||||
|
# node-version: 17.9.0
|
||||||
|
# - name: Install Rust stable
|
||||||
|
# uses: actions-rs/toolchain@v1.0.7
|
||||||
|
# with:
|
||||||
|
# toolchain: stable
|
||||||
|
# - name: Install cinny dependencies
|
||||||
|
# run: cd cinny && npm ci
|
||||||
|
# - name: Install tauri dependencies
|
||||||
|
# run: npm ci
|
||||||
|
# - name: Install rustup target aarch64 darwin
|
||||||
|
# run: rustup target add aarch64-apple-darwin
|
||||||
|
# - name: Build desktop app with Tauri
|
||||||
|
# uses: tauri-apps/tauri-action@v0.3.1
|
||||||
|
# env:
|
||||||
|
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
# TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
|
||||||
|
# TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
|
||||||
|
# with:
|
||||||
|
# args: --target aarch64-apple-darwin
|
||||||
|
# releaseId: ${{ steps.get_release.outputs.upload_url }}
|
||||||
|
# - name: Get app version
|
||||||
|
# if: always()
|
||||||
|
# id: vars
|
||||||
|
# run: echo ::set-output name=tag::$(jq .package.version src-tauri/tauri.conf.json | tr -d '"')
|
||||||
|
# - name: Move dmg
|
||||||
|
# if: always()
|
||||||
|
# run: mv "src-tauri/target/aarch64-apple-darwin/release/bundle/dmg/Cinny_${{ steps.vars.outputs.tag }}_aarch64.dmg" "src-tauri/target/aarch64-apple-darwin/release/bundle/dmg/Cinny_desktop-aarch64.dmg"
|
||||||
|
# - name: Move app.tar.gz
|
||||||
|
# if: always()
|
||||||
|
# run: mv "src-tauri/target/aarch64-apple-darwin/release/bundle/macos/Cinny.app.tar.gz" "src-tauri/target/aarch64-apple-darwin/release/bundle/macos/Cinny_desktop-aarch64.app.tar.gz"
|
||||||
|
# - name: Move app.tar.gz.sig
|
||||||
|
# if: always()
|
||||||
|
# run: mv "src-tauri/target/aarch64-apple-darwin/release/bundle/macos/Cinny.app.tar.gz.sig" "src-tauri/target/aarch64-apple-darwin/release/bundle/macos/Cinny_desktop-aarch64.app.tar.gz.sig"
|
||||||
|
# - name: Upload tagged release
|
||||||
|
# if: always()
|
||||||
|
# uses: softprops/action-gh-release@1e07f4398721186383de40550babbdf2b84acfc5
|
||||||
|
# with:
|
||||||
|
# files: |
|
||||||
|
# src-tauri/target/aarch64-apple-darwin/release/bundle/dmg/Cinny_desktop-aarch64.dmg
|
||||||
|
# src-tauri/target/aarch64-apple-darwin/release/bundle/macos/Cinny_desktop-aarch64.tar.gz
|
||||||
|
# src-tauri/target/aarch64-apple-darwin/release/bundle/macos/Cinny_desktop-aarch64.tar.gz.sig
|
||||||
|
|
||||||
|
# Upload release.json
|
||||||
release-update:
|
release-update:
|
||||||
needs: publish-tauri
|
if: always()
|
||||||
|
needs: [windows-x86_64, linux-x86_64, macos-x86_64] #, macos-aarch64]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
|
|||||||
10
.github/workflows/test.yml
vendored
10
.github/workflows/test.yml
vendored
@@ -17,23 +17,23 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
- name: Setup node
|
- name: Setup node
|
||||||
uses: actions/setup-node@v3.1.1
|
uses: actions/setup-node@v3.4.1
|
||||||
with:
|
with:
|
||||||
node-version: 16
|
node-version: 17.9.0
|
||||||
- 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
|
||||||
run: npm ci
|
run: npm ci
|
||||||
- name: Build desktop app with Tauri
|
- name: Build desktop app with Tauri
|
||||||
uses: tauri-apps/tauri-action@v0.3.0
|
uses: tauri-apps/tauri-action@v0.3.1
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
2
.gitmodules
vendored
2
.gitmodules
vendored
@@ -1,3 +1,3 @@
|
|||||||
[submodule "cinny"]
|
[submodule "cinny"]
|
||||||
path = cinny
|
path = cinny
|
||||||
url = https://github.com/ajbura/cinny
|
url = https://github.com/cinnyapp/cinny.git
|
||||||
|
|||||||
22
README.md
22
README.md
@@ -1,9 +1,25 @@
|
|||||||
# Cinny desktop
|
# Cinny desktop
|
||||||
Dekstop app of Cinny made with Tauri. Cinny is a matrix client focusing primarily on simple, elegant and secure interface.
|
|
||||||
|
<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>
|
||||||
|
|
||||||
|
Desktop app of Cinny made with Tauri. Cinny is a matrix client focusing primarily on simple, elegant and secure interface.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## 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
|
## Local development
|
||||||
|
|
||||||
Firstly, to setup Rust, NodeJS and build tools follow [Tauri documentation](https://tauri.studio/docs/getting-started/prerequisites).
|
Firstly, to setup Rust, NodeJS and build tools follow [Tauri documentation](https://tauri.app/v1/guides/getting-started/prerequisites).
|
||||||
|
|
||||||
Now, to setup development locally run the following commands:
|
Now, to setup development locally run the following commands:
|
||||||
* `git clone --recursive https://github.com/cinnyapp/cinny-desktop.git`
|
* `git clone --recursive https://github.com/cinnyapp/cinny-desktop.git`
|
||||||
@@ -16,4 +32,4 @@ To build the app locally, run:
|
|||||||
* `npm run tauri build`
|
* `npm run tauri build`
|
||||||
|
|
||||||
To start local dev server, run:
|
To start local dev server, run:
|
||||||
* `npm run tauri dev`
|
* `npm run tauri dev`
|
||||||
|
|||||||
2
cinny
2
cinny
Submodule cinny updated: 0b70c7e490...d23fc228d7
252
package-lock.json
generated
252
package-lock.json
generated
@@ -1,45 +1,45 @@
|
|||||||
{
|
{
|
||||||
"name": "cinny",
|
"name": "cinny",
|
||||||
"version": "2.0.0",
|
"version": "2.1.0",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "cinny",
|
"name": "cinny",
|
||||||
"version": "2.0.0",
|
"version": "2.1.0",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@tauri-apps/api": "^1.0.0-rc.5"
|
"@tauri-apps/api": "^1.0.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@actions/github": "^5.0.0",
|
"@actions/github": "^5.0.3",
|
||||||
"@tauri-apps/cli": "^1.0.0-rc.10",
|
"@tauri-apps/cli": "^1.0.5",
|
||||||
"node-fetch": "^3.2.3"
|
"node-fetch": "^3.2.10"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=14.6.0",
|
"node": ">=14.15.0 <=17.9.0",
|
||||||
"npm": ">=6.14.11"
|
"npm": ">=6.14.8 <=8.5.5"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"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,14 +174,11 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@tauri-apps/api": {
|
"node_modules/@tauri-apps/api": {
|
||||||
"version": "1.0.0-rc.5",
|
"version": "1.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/@tauri-apps/api/-/api-1.0.0-rc.5.tgz",
|
"resolved": "https://registry.npmjs.org/@tauri-apps/api/-/api-1.0.2.tgz",
|
||||||
"integrity": "sha512-IiQg7pLByl/W3KRx9Whn1EWh9ZrBojkl9FAgCRJ4//e58var1WmNPHA92YC0i0DLSIF0JLLp0EQKRHJa+aaqlQ==",
|
"integrity": "sha512-yuNW0oeJ1/ZA7wNF1KgxhHrSu5viPVzY/UgUczzN5ptLM8dH15Juy5rEGkoHfeXGju90Y/l22hi3BtIrp/za+w==",
|
||||||
"dependencies": {
|
|
||||||
"type-fest": "2.12.2"
|
|
||||||
},
|
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">= 12.13.0",
|
"node": ">= 12.22.0",
|
||||||
"npm": ">= 6.6.0",
|
"npm": ">= 6.6.0",
|
||||||
"yarn": ">= 1.19.1"
|
"yarn": ">= 1.19.1"
|
||||||
},
|
},
|
||||||
@@ -191,9 +188,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@tauri-apps/cli": {
|
"node_modules/@tauri-apps/cli": {
|
||||||
"version": "1.0.0-rc.10",
|
"version": "1.0.5",
|
||||||
"resolved": "https://registry.npmjs.org/@tauri-apps/cli/-/cli-1.0.0-rc.10.tgz",
|
"resolved": "https://registry.npmjs.org/@tauri-apps/cli/-/cli-1.0.5.tgz",
|
||||||
"integrity": "sha512-njDei3F3mlnotnujUF0jWteZC39RCm6JNAxZpzTFvWKFI/650DoA9hHTMa6onbazVgmOWdrbMHYWU/xBC/jUTw==",
|
"integrity": "sha512-vbY+MwK+xN65x0R/o16UQPxBtJl8pmzVzC0TZKokZfmeOkomoqOEOinSwznAMeyR1ZMJW+fXVgJCPvGsRQ0LGg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"bin": {
|
"bin": {
|
||||||
"tauri": "tauri.js"
|
"tauri": "tauri.js"
|
||||||
@@ -206,21 +203,21 @@
|
|||||||
"url": "https://opencollective.com/tauri"
|
"url": "https://opencollective.com/tauri"
|
||||||
},
|
},
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"@tauri-apps/cli-darwin-arm64": "1.0.0-rc.10",
|
"@tauri-apps/cli-darwin-arm64": "1.0.5",
|
||||||
"@tauri-apps/cli-darwin-x64": "1.0.0-rc.10",
|
"@tauri-apps/cli-darwin-x64": "1.0.5",
|
||||||
"@tauri-apps/cli-linux-arm-gnueabihf": "1.0.0-rc.10",
|
"@tauri-apps/cli-linux-arm-gnueabihf": "1.0.5",
|
||||||
"@tauri-apps/cli-linux-arm64-gnu": "1.0.0-rc.10",
|
"@tauri-apps/cli-linux-arm64-gnu": "1.0.5",
|
||||||
"@tauri-apps/cli-linux-arm64-musl": "1.0.0-rc.10",
|
"@tauri-apps/cli-linux-arm64-musl": "1.0.5",
|
||||||
"@tauri-apps/cli-linux-x64-gnu": "1.0.0-rc.10",
|
"@tauri-apps/cli-linux-x64-gnu": "1.0.5",
|
||||||
"@tauri-apps/cli-linux-x64-musl": "1.0.0-rc.10",
|
"@tauri-apps/cli-linux-x64-musl": "1.0.5",
|
||||||
"@tauri-apps/cli-win32-ia32-msvc": "1.0.0-rc.10",
|
"@tauri-apps/cli-win32-ia32-msvc": "1.0.5",
|
||||||
"@tauri-apps/cli-win32-x64-msvc": "1.0.0-rc.10"
|
"@tauri-apps/cli-win32-x64-msvc": "1.0.5"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@tauri-apps/cli-darwin-arm64": {
|
"node_modules/@tauri-apps/cli-darwin-arm64": {
|
||||||
"version": "1.0.0-rc.10",
|
"version": "1.0.5",
|
||||||
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-darwin-arm64/-/cli-darwin-arm64-1.0.0-rc.10.tgz",
|
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-darwin-arm64/-/cli-darwin-arm64-1.0.5.tgz",
|
||||||
"integrity": "sha512-KwnAAsR+H/U9NPF2P3UvZ0orfh/e8ng639GCvQoN/7b/EYzkLXYWGFd1sddTSSu8BM4OvIVXK1B86pn1xFohyg==",
|
"integrity": "sha512-oxpFb9ZeMiC3xPUJ9NsXWCnnwFSVkPbJUvDKpc9IaoDIUpsMTV72W4P0Nh0uQRbyhx4modPpstt7+ONypNVYNg==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"arm64"
|
"arm64"
|
||||||
],
|
],
|
||||||
@@ -234,9 +231,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@tauri-apps/cli-darwin-x64": {
|
"node_modules/@tauri-apps/cli-darwin-x64": {
|
||||||
"version": "1.0.0-rc.10",
|
"version": "1.0.5",
|
||||||
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-darwin-x64/-/cli-darwin-x64-1.0.0-rc.10.tgz",
|
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-darwin-x64/-/cli-darwin-x64-1.0.5.tgz",
|
||||||
"integrity": "sha512-xIH+UnZPofpx4n3aphu2SD45uPXtX3rlsI5aO0ANsDWN/esuAAwRnh+JR+NlmJXPKwy1BNz9pewczE5JO5BdqA==",
|
"integrity": "sha512-hRNYC6L9edz2dEqK33tssPylF2ti6x6udidBlGWc5GSoeEb/05qKMEA1MESQYKBG+4q+wjJvACA2vvz6AfgJ3Q==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"x64"
|
"x64"
|
||||||
],
|
],
|
||||||
@@ -250,9 +247,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@tauri-apps/cli-linux-arm-gnueabihf": {
|
"node_modules/@tauri-apps/cli-linux-arm-gnueabihf": {
|
||||||
"version": "1.0.0-rc.10",
|
"version": "1.0.5",
|
||||||
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm-gnueabihf/-/cli-linux-arm-gnueabihf-1.0.0-rc.10.tgz",
|
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm-gnueabihf/-/cli-linux-arm-gnueabihf-1.0.5.tgz",
|
||||||
"integrity": "sha512-j0cVDcP7MPyOh8mC6pTiOnsGgxMc4GFlQGBUvriRkWFCrUbZPbq1Pxt/eTcroVGsT/ItCXvnYd9jEQ+e50LI3A==",
|
"integrity": "sha512-hc/Jp3TtFpxB8XVkLEwWy7MNcUBlS8rNCafQBUt4KSElXB+/oGo50jPO+wd5GSMSOR59UCzH08v11P0b+sAa/w==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"arm"
|
"arm"
|
||||||
],
|
],
|
||||||
@@ -266,9 +263,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@tauri-apps/cli-linux-arm64-gnu": {
|
"node_modules/@tauri-apps/cli-linux-arm64-gnu": {
|
||||||
"version": "1.0.0-rc.10",
|
"version": "1.0.5",
|
||||||
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm64-gnu/-/cli-linux-arm64-gnu-1.0.0-rc.10.tgz",
|
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm64-gnu/-/cli-linux-arm64-gnu-1.0.5.tgz",
|
||||||
"integrity": "sha512-usdftJI/Jx0Z6TK8YJaHp2BtcNlvHeIUOnh3SmThbbYzDSFDqEW2E/McbxEhJJ13FPLVMLiIZYPpH26gE3vQxw==",
|
"integrity": "sha512-btFlkD2PG+yzJBZzWeJmyCy8ZV+iys2Jl66Fs4g9lSi3KrBDnyfQ26RpGZb2pRfkkcVP8/x1WSfByO+Rj+PTBA==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"arm64"
|
"arm64"
|
||||||
],
|
],
|
||||||
@@ -282,9 +279,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@tauri-apps/cli-linux-arm64-musl": {
|
"node_modules/@tauri-apps/cli-linux-arm64-musl": {
|
||||||
"version": "1.0.0-rc.10",
|
"version": "1.0.5",
|
||||||
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm64-musl/-/cli-linux-arm64-musl-1.0.0-rc.10.tgz",
|
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm64-musl/-/cli-linux-arm64-musl-1.0.5.tgz",
|
||||||
"integrity": "sha512-zsOhkc477mbe5wSkNuLv+D6RmQvDiaV8rHTaur+B/pxk9F0SrCYoO0Slf6x08bIiSkjyL/gN0PxnOBbEBA0u4A==",
|
"integrity": "sha512-p5JFdWab2AWhfgAZW/mgOLu+YiIJXKV0NdATGmdiBgQCMmz1k/FM8iOFApCgGbo3/zkR58cJ7Z7hyWmQ07M6Pw==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"arm64"
|
"arm64"
|
||||||
],
|
],
|
||||||
@@ -298,9 +295,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@tauri-apps/cli-linux-x64-gnu": {
|
"node_modules/@tauri-apps/cli-linux-x64-gnu": {
|
||||||
"version": "1.0.0-rc.10",
|
"version": "1.0.5",
|
||||||
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-x64-gnu/-/cli-linux-x64-gnu-1.0.0-rc.10.tgz",
|
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-x64-gnu/-/cli-linux-x64-gnu-1.0.5.tgz",
|
||||||
"integrity": "sha512-ongWuhXieKwW+xaYPshw/59xYbZVH6JNw+KRb/054VFnfZe/ZDYbN86mCJIlegOq9WAkdc0XSm1EEDx3i9FYCg==",
|
"integrity": "sha512-fOXR635AXxwSO7MCfBhMLnGpcg1H83XGw9ocuyg4jjvtE8QoYPwC4ksfb5lLhDVMui9iIKY93NAK3EkQiSGGmQ==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"x64"
|
"x64"
|
||||||
],
|
],
|
||||||
@@ -314,9 +311,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@tauri-apps/cli-linux-x64-musl": {
|
"node_modules/@tauri-apps/cli-linux-x64-musl": {
|
||||||
"version": "1.0.0-rc.10",
|
"version": "1.0.5",
|
||||||
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-x64-musl/-/cli-linux-x64-musl-1.0.0-rc.10.tgz",
|
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-x64-musl/-/cli-linux-x64-musl-1.0.5.tgz",
|
||||||
"integrity": "sha512-3AXJEdhFlX/erLBXmBkRG+oWfFLMMaJALSnxvzerteSNWiaEzTngy9Mo1yeAT51FhvJ+dbYQv0BWvPPFRYzpTQ==",
|
"integrity": "sha512-8be4zJVkuMs427JqONhFx5Ia5zWsQ5tbZXd80C3dHNL+5/3VIOK6nGQ0iijyZSLXiE9JKEH2jp1EHB+1TVJRcw==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"x64"
|
"x64"
|
||||||
],
|
],
|
||||||
@@ -330,9 +327,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@tauri-apps/cli-win32-ia32-msvc": {
|
"node_modules/@tauri-apps/cli-win32-ia32-msvc": {
|
||||||
"version": "1.0.0-rc.10",
|
"version": "1.0.5",
|
||||||
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-ia32-msvc/-/cli-win32-ia32-msvc-1.0.0-rc.10.tgz",
|
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-ia32-msvc/-/cli-win32-ia32-msvc-1.0.5.tgz",
|
||||||
"integrity": "sha512-2SvSk9z51AfCsbch2fvX4GNo3s0b8TO/Kd9B6rDIZ7TUxwnGShJNup2+KGvBovKqFAPmgyrSbgyEMKhKc1B4iA==",
|
"integrity": "sha512-WpnIfzS1e4InGhvd1IDSKC3w6kbI5c6oJgMmtkMTBlhjhiZXhZmQF4XA784A5Y13pzsbXnbNJKOp8DuPVkoTRQ==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"ia32"
|
"ia32"
|
||||||
],
|
],
|
||||||
@@ -346,9 +343,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@tauri-apps/cli-win32-x64-msvc": {
|
"node_modules/@tauri-apps/cli-win32-x64-msvc": {
|
||||||
"version": "1.0.0-rc.10",
|
"version": "1.0.5",
|
||||||
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-x64-msvc/-/cli-win32-x64-msvc-1.0.0-rc.10.tgz",
|
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-x64-msvc/-/cli-win32-x64-msvc-1.0.5.tgz",
|
||||||
"integrity": "sha512-mijSjeQGBGh6rvpkrqsSiTB4vwGprAXoDCmnIxliZ1Md4GgLMh8jzIug1UKAUmmIW1nOaQ9C9xu4wQXyoRqWHg==",
|
"integrity": "sha512-8iEhVD3X4LZfrlxEPOV+mAj4QrJrEqKTICiJnwmgjvhYQOOsNHzg5kca7pcBbqcgorQOBydLpfGJtxWRusVPaw==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"x64"
|
"x64"
|
||||||
],
|
],
|
||||||
@@ -446,9 +443,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/node-fetch": {
|
"node_modules/node-fetch": {
|
||||||
"version": "3.2.4",
|
"version": "3.2.10",
|
||||||
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.2.4.tgz",
|
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.2.10.tgz",
|
||||||
"integrity": "sha512-WvYJRN7mMyOLurFR2YpysQGuwYrJN+qrrpHjJDuKMcSPdfFccRUla/kng2mz6HWSBxJcqPbvatS6Gb4RhOzCJw==",
|
"integrity": "sha512-MhuzNwdURnZ1Cp4XTazr69K0BTizsBroX7Zx3UgDSVcZYKF/6p0CBe4EUb/hLqmzVhl0UpYfgRljQ4yxE+iCxA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"data-uri-to-buffer": "^4.0.0",
|
"data-uri-to-buffer": "^4.0.0",
|
||||||
@@ -487,17 +484,6 @@
|
|||||||
"node": ">=0.6.11 <=0.7.0 || >=0.7.3"
|
"node": ">=0.6.11 <=0.7.0 || >=0.7.3"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/type-fest": {
|
|
||||||
"version": "2.12.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.12.2.tgz",
|
|
||||||
"integrity": "sha512-qt6ylCGpLjZ7AaODxbpyBZSs9fCI9SkL3Z9q2oxMBQhs/uyY+VD8jHA8ULCGmWQJlBgqvO3EJeAngOHD8zQCrQ==",
|
|
||||||
"engines": {
|
|
||||||
"node": ">=12.20"
|
|
||||||
},
|
|
||||||
"funding": {
|
|
||||||
"url": "https://github.com/sponsors/sindresorhus"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/universal-user-agent": {
|
"node_modules/universal-user-agent": {
|
||||||
"version": "6.0.0",
|
"version": "6.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz",
|
||||||
@@ -538,24 +524,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 +661,87 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@tauri-apps/api": {
|
"@tauri-apps/api": {
|
||||||
"version": "1.0.0-rc.5",
|
"version": "1.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/@tauri-apps/api/-/api-1.0.0-rc.5.tgz",
|
"resolved": "https://registry.npmjs.org/@tauri-apps/api/-/api-1.0.2.tgz",
|
||||||
"integrity": "sha512-IiQg7pLByl/W3KRx9Whn1EWh9ZrBojkl9FAgCRJ4//e58var1WmNPHA92YC0i0DLSIF0JLLp0EQKRHJa+aaqlQ==",
|
"integrity": "sha512-yuNW0oeJ1/ZA7wNF1KgxhHrSu5viPVzY/UgUczzN5ptLM8dH15Juy5rEGkoHfeXGju90Y/l22hi3BtIrp/za+w=="
|
||||||
"requires": {
|
|
||||||
"type-fest": "2.12.2"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"@tauri-apps/cli": {
|
"@tauri-apps/cli": {
|
||||||
"version": "1.0.0-rc.10",
|
"version": "1.0.5",
|
||||||
"resolved": "https://registry.npmjs.org/@tauri-apps/cli/-/cli-1.0.0-rc.10.tgz",
|
"resolved": "https://registry.npmjs.org/@tauri-apps/cli/-/cli-1.0.5.tgz",
|
||||||
"integrity": "sha512-njDei3F3mlnotnujUF0jWteZC39RCm6JNAxZpzTFvWKFI/650DoA9hHTMa6onbazVgmOWdrbMHYWU/xBC/jUTw==",
|
"integrity": "sha512-vbY+MwK+xN65x0R/o16UQPxBtJl8pmzVzC0TZKokZfmeOkomoqOEOinSwznAMeyR1ZMJW+fXVgJCPvGsRQ0LGg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"@tauri-apps/cli-darwin-arm64": "1.0.0-rc.10",
|
"@tauri-apps/cli-darwin-arm64": "1.0.5",
|
||||||
"@tauri-apps/cli-darwin-x64": "1.0.0-rc.10",
|
"@tauri-apps/cli-darwin-x64": "1.0.5",
|
||||||
"@tauri-apps/cli-linux-arm-gnueabihf": "1.0.0-rc.10",
|
"@tauri-apps/cli-linux-arm-gnueabihf": "1.0.5",
|
||||||
"@tauri-apps/cli-linux-arm64-gnu": "1.0.0-rc.10",
|
"@tauri-apps/cli-linux-arm64-gnu": "1.0.5",
|
||||||
"@tauri-apps/cli-linux-arm64-musl": "1.0.0-rc.10",
|
"@tauri-apps/cli-linux-arm64-musl": "1.0.5",
|
||||||
"@tauri-apps/cli-linux-x64-gnu": "1.0.0-rc.10",
|
"@tauri-apps/cli-linux-x64-gnu": "1.0.5",
|
||||||
"@tauri-apps/cli-linux-x64-musl": "1.0.0-rc.10",
|
"@tauri-apps/cli-linux-x64-musl": "1.0.5",
|
||||||
"@tauri-apps/cli-win32-ia32-msvc": "1.0.0-rc.10",
|
"@tauri-apps/cli-win32-ia32-msvc": "1.0.5",
|
||||||
"@tauri-apps/cli-win32-x64-msvc": "1.0.0-rc.10"
|
"@tauri-apps/cli-win32-x64-msvc": "1.0.5"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@tauri-apps/cli-darwin-arm64": {
|
"@tauri-apps/cli-darwin-arm64": {
|
||||||
"version": "1.0.0-rc.10",
|
"version": "1.0.5",
|
||||||
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-darwin-arm64/-/cli-darwin-arm64-1.0.0-rc.10.tgz",
|
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-darwin-arm64/-/cli-darwin-arm64-1.0.5.tgz",
|
||||||
"integrity": "sha512-KwnAAsR+H/U9NPF2P3UvZ0orfh/e8ng639GCvQoN/7b/EYzkLXYWGFd1sddTSSu8BM4OvIVXK1B86pn1xFohyg==",
|
"integrity": "sha512-oxpFb9ZeMiC3xPUJ9NsXWCnnwFSVkPbJUvDKpc9IaoDIUpsMTV72W4P0Nh0uQRbyhx4modPpstt7+ONypNVYNg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"optional": true
|
"optional": true
|
||||||
},
|
},
|
||||||
"@tauri-apps/cli-darwin-x64": {
|
"@tauri-apps/cli-darwin-x64": {
|
||||||
"version": "1.0.0-rc.10",
|
"version": "1.0.5",
|
||||||
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-darwin-x64/-/cli-darwin-x64-1.0.0-rc.10.tgz",
|
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-darwin-x64/-/cli-darwin-x64-1.0.5.tgz",
|
||||||
"integrity": "sha512-xIH+UnZPofpx4n3aphu2SD45uPXtX3rlsI5aO0ANsDWN/esuAAwRnh+JR+NlmJXPKwy1BNz9pewczE5JO5BdqA==",
|
"integrity": "sha512-hRNYC6L9edz2dEqK33tssPylF2ti6x6udidBlGWc5GSoeEb/05qKMEA1MESQYKBG+4q+wjJvACA2vvz6AfgJ3Q==",
|
||||||
"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.10",
|
"version": "1.0.5",
|
||||||
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm-gnueabihf/-/cli-linux-arm-gnueabihf-1.0.0-rc.10.tgz",
|
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm-gnueabihf/-/cli-linux-arm-gnueabihf-1.0.5.tgz",
|
||||||
"integrity": "sha512-j0cVDcP7MPyOh8mC6pTiOnsGgxMc4GFlQGBUvriRkWFCrUbZPbq1Pxt/eTcroVGsT/ItCXvnYd9jEQ+e50LI3A==",
|
"integrity": "sha512-hc/Jp3TtFpxB8XVkLEwWy7MNcUBlS8rNCafQBUt4KSElXB+/oGo50jPO+wd5GSMSOR59UCzH08v11P0b+sAa/w==",
|
||||||
"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.10",
|
"version": "1.0.5",
|
||||||
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm64-gnu/-/cli-linux-arm64-gnu-1.0.0-rc.10.tgz",
|
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm64-gnu/-/cli-linux-arm64-gnu-1.0.5.tgz",
|
||||||
"integrity": "sha512-usdftJI/Jx0Z6TK8YJaHp2BtcNlvHeIUOnh3SmThbbYzDSFDqEW2E/McbxEhJJ13FPLVMLiIZYPpH26gE3vQxw==",
|
"integrity": "sha512-btFlkD2PG+yzJBZzWeJmyCy8ZV+iys2Jl66Fs4g9lSi3KrBDnyfQ26RpGZb2pRfkkcVP8/x1WSfByO+Rj+PTBA==",
|
||||||
"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.10",
|
"version": "1.0.5",
|
||||||
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm64-musl/-/cli-linux-arm64-musl-1.0.0-rc.10.tgz",
|
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm64-musl/-/cli-linux-arm64-musl-1.0.5.tgz",
|
||||||
"integrity": "sha512-zsOhkc477mbe5wSkNuLv+D6RmQvDiaV8rHTaur+B/pxk9F0SrCYoO0Slf6x08bIiSkjyL/gN0PxnOBbEBA0u4A==",
|
"integrity": "sha512-p5JFdWab2AWhfgAZW/mgOLu+YiIJXKV0NdATGmdiBgQCMmz1k/FM8iOFApCgGbo3/zkR58cJ7Z7hyWmQ07M6Pw==",
|
||||||
"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.10",
|
"version": "1.0.5",
|
||||||
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-x64-gnu/-/cli-linux-x64-gnu-1.0.0-rc.10.tgz",
|
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-x64-gnu/-/cli-linux-x64-gnu-1.0.5.tgz",
|
||||||
"integrity": "sha512-ongWuhXieKwW+xaYPshw/59xYbZVH6JNw+KRb/054VFnfZe/ZDYbN86mCJIlegOq9WAkdc0XSm1EEDx3i9FYCg==",
|
"integrity": "sha512-fOXR635AXxwSO7MCfBhMLnGpcg1H83XGw9ocuyg4jjvtE8QoYPwC4ksfb5lLhDVMui9iIKY93NAK3EkQiSGGmQ==",
|
||||||
"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.10",
|
"version": "1.0.5",
|
||||||
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-x64-musl/-/cli-linux-x64-musl-1.0.0-rc.10.tgz",
|
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-x64-musl/-/cli-linux-x64-musl-1.0.5.tgz",
|
||||||
"integrity": "sha512-3AXJEdhFlX/erLBXmBkRG+oWfFLMMaJALSnxvzerteSNWiaEzTngy9Mo1yeAT51FhvJ+dbYQv0BWvPPFRYzpTQ==",
|
"integrity": "sha512-8be4zJVkuMs427JqONhFx5Ia5zWsQ5tbZXd80C3dHNL+5/3VIOK6nGQ0iijyZSLXiE9JKEH2jp1EHB+1TVJRcw==",
|
||||||
"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.10",
|
"version": "1.0.5",
|
||||||
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-ia32-msvc/-/cli-win32-ia32-msvc-1.0.0-rc.10.tgz",
|
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-ia32-msvc/-/cli-win32-ia32-msvc-1.0.5.tgz",
|
||||||
"integrity": "sha512-2SvSk9z51AfCsbch2fvX4GNo3s0b8TO/Kd9B6rDIZ7TUxwnGShJNup2+KGvBovKqFAPmgyrSbgyEMKhKc1B4iA==",
|
"integrity": "sha512-WpnIfzS1e4InGhvd1IDSKC3w6kbI5c6oJgMmtkMTBlhjhiZXhZmQF4XA784A5Y13pzsbXnbNJKOp8DuPVkoTRQ==",
|
||||||
"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.10",
|
"version": "1.0.5",
|
||||||
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-x64-msvc/-/cli-win32-x64-msvc-1.0.0-rc.10.tgz",
|
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-x64-msvc/-/cli-win32-x64-msvc-1.0.5.tgz",
|
||||||
"integrity": "sha512-mijSjeQGBGh6rvpkrqsSiTB4vwGprAXoDCmnIxliZ1Md4GgLMh8jzIug1UKAUmmIW1nOaQ9C9xu4wQXyoRqWHg==",
|
"integrity": "sha512-8iEhVD3X4LZfrlxEPOV+mAj4QrJrEqKTICiJnwmgjvhYQOOsNHzg5kca7pcBbqcgorQOBydLpfGJtxWRusVPaw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"optional": true
|
"optional": true
|
||||||
},
|
},
|
||||||
@@ -812,9 +795,9 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"node-fetch": {
|
"node-fetch": {
|
||||||
"version": "3.2.4",
|
"version": "3.2.10",
|
||||||
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.2.4.tgz",
|
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.2.10.tgz",
|
||||||
"integrity": "sha512-WvYJRN7mMyOLurFR2YpysQGuwYrJN+qrrpHjJDuKMcSPdfFccRUla/kng2mz6HWSBxJcqPbvatS6Gb4RhOzCJw==",
|
"integrity": "sha512-MhuzNwdURnZ1Cp4XTazr69K0BTizsBroX7Zx3UgDSVcZYKF/6p0CBe4EUb/hLqmzVhl0UpYfgRljQ4yxE+iCxA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"data-uri-to-buffer": "^4.0.0",
|
"data-uri-to-buffer": "^4.0.0",
|
||||||
@@ -843,11 +826,6 @@
|
|||||||
"integrity": "sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==",
|
"integrity": "sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"type-fest": {
|
|
||||||
"version": "2.12.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.12.2.tgz",
|
|
||||||
"integrity": "sha512-qt6ylCGpLjZ7AaODxbpyBZSs9fCI9SkL3Z9q2oxMBQhs/uyY+VD8jHA8ULCGmWQJlBgqvO3EJeAngOHD8zQCrQ=="
|
|
||||||
},
|
|
||||||
"universal-user-agent": {
|
"universal-user-agent": {
|
||||||
"version": "6.0.0",
|
"version": "6.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz",
|
||||||
|
|||||||
14
package.json
14
package.json
@@ -1,11 +1,11 @@
|
|||||||
{
|
{
|
||||||
"name": "cinny",
|
"name": "cinny",
|
||||||
"version": "2.0.1",
|
"version": "2.1.0",
|
||||||
"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.5"
|
"@tauri-apps/api": "^1.0.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@actions/github": "^5.0.0",
|
"@actions/github": "^5.0.3",
|
||||||
"@tauri-apps/cli": "^1.0.0-rc.10",
|
"@tauri-apps/cli": "^1.0.5",
|
||||||
"node-fetch": "^3.2.3"
|
"node-fetch": "^3.2.10"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,81 +0,0 @@
|
|||||||
<?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>
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
[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;
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 80 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 266 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 172 KiB |
@@ -31,33 +31,41 @@ async function createTauriRelease() {
|
|||||||
const latestRelease = await repos.getReleaseByTag({ ...repoMetaData, tag: latestTag.name });
|
const latestRelease = await repos.getReleaseByTag({ ...repoMetaData, tag: latestTag.name });
|
||||||
const latestAssets = latestRelease.data.assets;
|
const latestAssets = latestRelease.data.assets;
|
||||||
|
|
||||||
const win64 = {};
|
const windowsX86_64 = {};
|
||||||
const linux = {};
|
const linuxX86_64 = {};
|
||||||
const darwin = {};
|
const darwinX86_64 = {};
|
||||||
|
// const darwinAarch64 = {};
|
||||||
|
|
||||||
const promises = latestAssets.map(async (asset) => {
|
const promises = latestAssets.map(async (asset) => {
|
||||||
const { name, browser_download_url } = asset;
|
const { name, browser_download_url } = asset;
|
||||||
|
|
||||||
if (/\.msi\.zip$/.test(name)) {
|
if (/\.msi\.zip$/.test(name)) {
|
||||||
win64.url = browser_download_url;
|
windowsX86_64.url = browser_download_url;
|
||||||
}
|
}
|
||||||
if (/\.msi\.zip\.sig$/.test(name)) {
|
if (/\.msi\.zip\.sig$/.test(name)) {
|
||||||
win64.signature = await getAssetSign(browser_download_url);
|
windowsX86_64.signature = await getAssetSign(browser_download_url);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (/\.AppImage\.tar\.gz$/.test(name)) {
|
if (/\.AppImage\.tar\.gz$/.test(name)) {
|
||||||
linux.url = browser_download_url;
|
linuxX86_64.url = browser_download_url;
|
||||||
}
|
}
|
||||||
if (/\.AppImage\.tar\.gz\.sig$/.test(name)) {
|
if (/\.AppImage\.tar\.gz\.sig$/.test(name)) {
|
||||||
linux.signature = await getAssetSign(browser_download_url);
|
linuxX86_64.signature = await getAssetSign(browser_download_url);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (/\.app\.tar\.gz$/.test(name)) {
|
if (/x86_64\.app\.tar\.gz$/.test(name)) {
|
||||||
darwin.url = browser_download_url;
|
darwinX86_64.url = browser_download_url;
|
||||||
}
|
}
|
||||||
if (/\.app\.tar\.gz\.sig$/.test(name)) {
|
if (/x86_64\.app\.tar\.gz\.sig$/.test(name)) {
|
||||||
darwin.signature = await getAssetSign(browser_download_url);
|
darwinX86_64.signature = await getAssetSign(browser_download_url);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// if (/aarch64\.app\.tar\.gz$/.test(name)) {
|
||||||
|
// darwinAarch64.url = browser_download_url;
|
||||||
|
// }
|
||||||
|
// if (/aarch64\.app\.tar\.gz\.sig$/.test(name)) {
|
||||||
|
// darwinAarch64.signature = await getAssetSign(browser_download_url);
|
||||||
|
// }
|
||||||
});
|
});
|
||||||
|
|
||||||
await Promise.allSettled(promises);
|
await Promise.allSettled(promises);
|
||||||
@@ -69,14 +77,17 @@ async function createTauriRelease() {
|
|||||||
platforms: {},
|
platforms: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (win64.url) releaseData.platforms.win64 = win64;
|
if (windowsX86_64.url) releaseData.platforms["windows-x86_64"] = windowsX86_64;
|
||||||
else console.error('Failed to get release for win64');
|
else console.error('Failed to get release for windowsX86_64');
|
||||||
|
|
||||||
if (linux.url) releaseData.platforms.linux = linux;
|
if (linuxX86_64.url) releaseData.platforms["linux-x86_64"] = linuxX86_64;
|
||||||
else console.error('Failed to get release for linux');
|
else console.error('Failed to get release for linuxX86_64');
|
||||||
|
|
||||||
if (darwin.url) releaseData.platforms.darwin = darwin;
|
if (darwinX86_64.url) releaseData.platforms["darwin-x86_64"] = darwinX86_64;
|
||||||
else console.error('Failed to get release for darwin');
|
else console.error('Failed to get release for darwinX86_64');
|
||||||
|
|
||||||
|
// if (darwinAarch64.url) releaseData.platforms["darwin-aarch64"] = darwinAarch64;
|
||||||
|
// else console.error('Failed to get release for darwinAarch64');
|
||||||
|
|
||||||
const releaseResult = await repos.getReleaseByTag({ ...repoMetaData, tag: 'tauri' });
|
const releaseResult = await repos.getReleaseByTag({ ...repoMetaData, tag: 'tauri' });
|
||||||
const tauriRelease = releaseResult.data;
|
const tauriRelease = releaseResult.data;
|
||||||
|
|||||||
1108
src-tauri/Cargo.lock
generated
1108
src-tauri/Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -2,22 +2,22 @@
|
|||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "cinny"
|
name = "cinny"
|
||||||
version = "2.0.1"
|
version = "2.1.0"
|
||||||
description = "Yet another matrix client"
|
description = "Yet another matrix client"
|
||||||
authors = ["Ajay Bura"]
|
authors = ["Ajay Bura"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
repository = "https://github.com/cinnyapp/cinny-desktop"
|
repository = "https://github.com/cinnyapp/cinny-desktop"
|
||||||
default-run = "cinny"
|
default-run = "cinny"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
rust-version = "1.57"
|
rust-version = "1.61"
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
tauri-build = { version = "1.0.0-rc.8", features = [] }
|
tauri-build = { version = "1.0.4", features = [] }
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
serde_json = "1.0.81"
|
serde_json = "1.0.82"
|
||||||
serde = { version = "1.0.137", features = ["derive"] }
|
serde = { version = "1.0.141", features = ["derive"] }
|
||||||
tauri = { version = "1.0.0-rc.9", features = ["api-all", "updater"] }
|
tauri = { version = "1.0.5", features = ["api-all", "devtools", "updater"] }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
# by default Tauri runs in production mode
|
# by default Tauri runs in production mode
|
||||||
|
|||||||
@@ -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
41
src-tauri/src/menu.rs
Normal 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),
|
||||||
|
))
|
||||||
|
}
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"package": {
|
"package": {
|
||||||
"productName": "cinny",
|
"productName": "Cinny",
|
||||||
"version": "2.0.1"
|
"version": "2.1.0"
|
||||||
},
|
},
|
||||||
"build": {
|
"build": {
|
||||||
"distDir": "../cinny/dist",
|
"distDir": "../cinny/dist",
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
"externalBin": [],
|
"externalBin": [],
|
||||||
"copyright": "",
|
"copyright": "",
|
||||||
"category": "SocialNetworking",
|
"category": "SocialNetworking",
|
||||||
"shortDescription": "",
|
"shortDescription": "Yet another matrix client",
|
||||||
"longDescription": "",
|
"longDescription": "",
|
||||||
"deb": {
|
"deb": {
|
||||||
"depends": []
|
"depends": []
|
||||||
@@ -41,7 +41,11 @@
|
|||||||
"windows": {
|
"windows": {
|
||||||
"certificateThumbprint": null,
|
"certificateThumbprint": null,
|
||||||
"digestAlgorithm": "sha256",
|
"digestAlgorithm": "sha256",
|
||||||
"timestampUrl": ""
|
"timestampUrl": "",
|
||||||
|
"wix": {
|
||||||
|
"bannerPath": "wix/banner.bmp",
|
||||||
|
"dialogImagePath": "wix/dialogImage.bmp"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"updater": {
|
"updater": {
|
||||||
@@ -62,7 +66,8 @@
|
|||||||
"height": 724,
|
"height": 724,
|
||||||
"center": true,
|
"center": true,
|
||||||
"resizable": true,
|
"resizable": true,
|
||||||
"fullscreen": false
|
"fullscreen": false,
|
||||||
|
"fileDropEnabled": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"security": {
|
"security": {
|
||||||
|
|||||||
BIN
src-tauri/wix/banner.bmp
Normal file
BIN
src-tauri/wix/banner.bmp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 84 KiB |
BIN
src-tauri/wix/dialogImage.bmp
Normal file
BIN
src-tauri/wix/dialogImage.bmp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 451 KiB |
Reference in New Issue
Block a user