From 981c2864167e903730db591b292e731f4499c0f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jens=20Emil=20Fink=20H=C3=B8jriis?=
<5774453+JE-FH@users.noreply.github.com>
Date: Wed, 21 Jun 2023 19:39:28 +0200
Subject: [PATCH 1/7] first attempt
---
.github/workflows/release.yml | 57 +++++++++++++++++++++++++++++++++++
1 file changed, 57 insertions(+)
create mode 100644 .github/workflows/release.yml
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
new file mode 100644
index 0000000..b48ecb4
--- /dev/null
+++ b/.github/workflows/release.yml
@@ -0,0 +1,57 @@
+name: Release
+on:
+ push:
+ tags:
+ - 'v*'
+ workflow_dispatch:
+
+jobs:
+ release:
+ permissions:
+ contents: write
+ strategy:
+ fail-fast: false
+ matrix:
+ platform: [macos-latest, ubuntu-20.04, windows-latest]
+ runs-on: ${{ matrix.platform }}
+
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v3
+
+ - name: Install dependencies (ubuntu only)
+ if: matrix.platform == 'ubuntu-20.04'
+ # You can remove libayatana-appindicator3-dev if you don't use the system tray feature.
+ run: |
+ sudo apt-get update
+ sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libayatana-appindicator3-dev librsvg2-dev
+
+ - name: Rust setup
+ uses: dtolnay/rust-toolchain@stable
+
+ - name: Rust cache
+ uses: swatinem/rust-cache@v2
+ with:
+ workspaces: './src-tauri -> target'
+
+ - name: Sync node version and setup cache
+ uses: actions/setup-node@v3
+ with:
+ node-version: 'lts/*'
+ cache: 'npm' # Set this to npm, yarn or pnpm.
+
+ - name: Install frontend dependencies
+ # If you don't have `beforeBuildCommand` configured you may want to build your frontend here too.
+ run: npm install # Change this to npm, yarn or pnpm.
+
+ - name: Build the app
+ uses: tauri-apps/tauri-action@v0
+
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ with:
+ tagName: ${{ github.ref_name }} # This only works if your workflow triggers on new tags.
+ releaseName: 'QuickTeX v__VERSION__' # tauri-action replaces \_\_VERSION\_\_ with the app version.
+ releaseBody: 'See the assets to download and install this version.'
+ releaseDraft: true
+ prerelease: false
\ No newline at end of file
From d71fbd7dfadb94c5016328d15ee825164cd03932 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jens=20Emil=20Fink=20H=C3=B8jriis?=
<5774453+JE-FH@users.noreply.github.com>
Date: Thu, 16 Jan 2025 23:07:08 +0100
Subject: [PATCH 2/7] moved to tauri 2.0 and added new feature
---
README.md | 24 +-
package-lock.json | 931 +++--
package.json | 7 +-
src-tauri/.gitignore | 4 +
src-tauri/Cargo.lock | 3917 +++++++++++++++------
src-tauri/Cargo.toml | 35 +-
src-tauri/build.rs | 2 +-
src-tauri/capabilities/default.json | 11 +
src-tauri/icons/128x128.png | Bin 2022 -> 4129 bytes
src-tauri/icons/128x128@2x.png | Bin 3719 -> 8251 bytes
src-tauri/icons/32x32.png | Bin 810 -> 1103 bytes
src-tauri/src/lib.rs | 10 +
src-tauri/src/main.rs | 4 +-
src-tauri/tauri.conf.json | 79 +-
src/App.vue | 24 +-
src/components/ExtendedKatexContainer.vue | 73 +
src/components/Settings.vue | 26 +-
src/store/Settings.ts | 24 +-
vite.config.ts | 51 +-
19 files changed, 3683 insertions(+), 1539 deletions(-)
create mode 100644 src-tauri/capabilities/default.json
create mode 100644 src-tauri/src/lib.rs
create mode 100644 src/components/ExtendedKatexContainer.vue
diff --git a/README.md b/README.md
index 1205088..5047afc 100644
--- a/README.md
+++ b/README.md
@@ -1,16 +1,16 @@
-
-QuickTeX is a desktop tool for quickly rendering KaTeX compatible LaTeX. It also provides a few utilities for scaling and screenshotting the output.
+# Tauri + Vue + TypeScript
-# How to build
-This project uses Tauri to display content and Vue as the UI framework. So Rust and Node are required. Follow these steps to build for your own system.
+This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 `
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/Settings.vue b/src/components/Settings.vue
index 2891796..851bfea 100644
--- a/src/components/Settings.vue
+++ b/src/components/Settings.vue
@@ -1,13 +1,26 @@
From 3d5b6b63d3cce713ee1b388ac34b6aa55d75b66d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jens=20Emil=20Fink=20H=C3=B8jriis?=
<5774453+JE-FH@users.noreply.github.com>
Date: Fri, 17 Jan 2025 11:04:05 +0100
Subject: [PATCH 7/7] changed version name
---
package.json | 2 +-
src-tauri/Cargo.lock | 2 +-
src-tauri/Cargo.toml | 2 +-
src-tauri/tauri.conf.json | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/package.json b/package.json
index b757a5a..a4a18a2 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "quicktex",
"private": true,
- "version": "0.0.0",
+ "version": "0.3.0",
"type": "module",
"scripts": {
"dev": "vite",
diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock
index 0655aa5..03f8b4a 100644
--- a/src-tauri/Cargo.lock
+++ b/src-tauri/Cargo.lock
@@ -2893,7 +2893,7 @@ dependencies = [
[[package]]
name = "quicktex"
-version = "0.2.0-test"
+version = "0.3.0-1"
dependencies = [
"serde",
"serde_json",
diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml
index 0d2f93e..c6271ab 100644
--- a/src-tauri/Cargo.toml
+++ b/src-tauri/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "quicktex"
-version = "0.2.0-test"
+version = "0.3.0-1"
description = "A Tauri App"
authors = ["you"]
edition = "2021"
diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json
index 1944322..028d4a3 100644
--- a/src-tauri/tauri.conf.json
+++ b/src-tauri/tauri.conf.json
@@ -1,7 +1,7 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "quicktex",
- "version": "0.3.0-test",
+ "version": "0.3.0-1",
"identifier": "ovh.joms.QuickTeX",
"build": {
"beforeDevCommand": "npm run dev",