Compare commits
6 Commits
v0.1.3
...
cb82337d24
| Author | SHA1 | Date | |
|---|---|---|---|
| cb82337d24 | |||
| 539aa6a9f7 | |||
| b7d9436cee | |||
| 3d345d57f5 | |||
| c6b14bf508 | |||
|
|
5d755594cb |
@@ -81,7 +81,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Build .pkg installer
|
- name: Build .pkg installer
|
||||||
run: |
|
run: |
|
||||||
VERSION="${GITHUB_REF_NAME#v}"
|
VERSION="${GITEA_REF_NAME#v}"
|
||||||
mkdir -p pkg-root/Applications pkg-root/usr/local/bin
|
mkdir -p pkg-root/Applications pkg-root/usr/local/bin
|
||||||
cp -R Cagire.app pkg-root/Applications/
|
cp -R Cagire.app pkg-root/Applications/
|
||||||
cp cagire pkg-root/usr/local/bin/
|
cp cagire pkg-root/usr/local/bin/
|
||||||
@@ -36,9 +36,7 @@ jobs:
|
|||||||
- name: Prepare plugin artifacts
|
- name: Prepare plugin artifacts
|
||||||
run: |
|
run: |
|
||||||
mkdir -p target/bundled
|
mkdir -p target/bundled
|
||||||
# CLAP: single .so renamed to .clap
|
|
||||||
cp target/aarch64-unknown-linux-gnu/release/libcagire_plugins.so target/bundled/cagire-plugins.clap
|
cp target/aarch64-unknown-linux-gnu/release/libcagire_plugins.so target/bundled/cagire-plugins.clap
|
||||||
# VST3: correct directory structure
|
|
||||||
mkdir -p "target/bundled/cagire-plugins.vst3/Contents/aarch64-linux"
|
mkdir -p "target/bundled/cagire-plugins.vst3/Contents/aarch64-linux"
|
||||||
cp target/aarch64-unknown-linux-gnu/release/libcagire_plugins.so "target/bundled/cagire-plugins.vst3/Contents/aarch64-linux/cagire-plugins.so"
|
cp target/aarch64-unknown-linux-gnu/release/libcagire_plugins.so "target/bundled/cagire-plugins.vst3/Contents/aarch64-linux/cagire-plugins.so"
|
||||||
|
|
||||||
17
.gitea/workflows/build-plugins.yml
Normal file
17
.gitea/workflows/build-plugins.yml
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
name: Build Plugins
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
linux:
|
||||||
|
uses: ./.gitea/workflows/build-plugins-linux.yml
|
||||||
|
|
||||||
|
macos:
|
||||||
|
uses: ./.gitea/workflows/build-plugins-macos.yml
|
||||||
|
|
||||||
|
windows:
|
||||||
|
uses: ./.gitea/workflows/build-plugins-windows.yml
|
||||||
|
|
||||||
|
rpi:
|
||||||
|
uses: ./.gitea/workflows/build-plugins-rpi.yml
|
||||||
23
.gitea/workflows/ci.yml
Normal file
23
.gitea/workflows/ci.yml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
name: CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
linux:
|
||||||
|
uses: ./.gitea/workflows/build-linux.yml
|
||||||
|
with:
|
||||||
|
run-tests: true
|
||||||
|
run-clippy: true
|
||||||
|
|
||||||
|
macos:
|
||||||
|
uses: ./.gitea/workflows/build-macos.yml
|
||||||
|
with:
|
||||||
|
run-tests: true
|
||||||
|
run-clippy: true
|
||||||
|
|
||||||
|
windows:
|
||||||
|
uses: ./.gitea/workflows/build-windows.yml
|
||||||
|
with:
|
||||||
|
run-tests: true
|
||||||
|
run-clippy: true
|
||||||
38
.gitea/workflows/deploy-website.yml
Normal file
38
.gitea/workflows/deploy-website.yml
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
name: Deploy Website
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
paths:
|
||||||
|
- 'website/**'
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Setup pnpm
|
||||||
|
uses: pnpm/action-setup@v4
|
||||||
|
with:
|
||||||
|
version: 9
|
||||||
|
|
||||||
|
- name: Setup Node.js
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: 22
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
working-directory: website
|
||||||
|
run: pnpm install
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
working-directory: website
|
||||||
|
run: pnpm build
|
||||||
|
|
||||||
|
- name: Deploy to host volume
|
||||||
|
run: |
|
||||||
|
rm -rf /home/debian/my-services/cagire-website-data/*
|
||||||
|
cp -r website/dist/* /home/debian/my-services/cagire-website-data/
|
||||||
@@ -2,23 +2,15 @@ name: Release
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
push:
|
|
||||||
tags: ['v*']
|
|
||||||
|
|
||||||
concurrency:
|
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
|
||||||
cancel-in-progress: true
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
linux:
|
linux:
|
||||||
if: github.server_url == 'https://github.com'
|
uses: ./.gitea/workflows/build-linux.yml
|
||||||
uses: ./.github/workflows/build-linux.yml
|
|
||||||
with:
|
with:
|
||||||
build-packages: true
|
build-packages: true
|
||||||
|
|
||||||
macos:
|
macos:
|
||||||
if: github.server_url == 'https://github.com'
|
uses: ./.gitea/workflows/build-macos.yml
|
||||||
uses: ./.github/workflows/build-macos.yml
|
|
||||||
with:
|
with:
|
||||||
build-packages: true
|
build-packages: true
|
||||||
matrix: >-
|
matrix: >-
|
||||||
@@ -28,26 +20,21 @@ jobs:
|
|||||||
]
|
]
|
||||||
|
|
||||||
windows:
|
windows:
|
||||||
if: github.server_url == 'https://github.com'
|
uses: ./.gitea/workflows/build-windows.yml
|
||||||
uses: ./.github/workflows/build-windows.yml
|
|
||||||
with:
|
with:
|
||||||
build-packages: true
|
build-packages: true
|
||||||
|
|
||||||
cross:
|
cross:
|
||||||
if: github.server_url == 'https://github.com'
|
uses: ./.gitea/workflows/build-cross.yml
|
||||||
uses: ./.github/workflows/build-cross.yml
|
|
||||||
|
|
||||||
assemble-macos:
|
assemble-macos:
|
||||||
needs: macos
|
needs: macos
|
||||||
uses: ./.github/workflows/assemble-macos.yml
|
uses: ./.gitea/workflows/assemble-macos.yml
|
||||||
|
|
||||||
release:
|
release:
|
||||||
needs: [linux, macos, windows, cross, assemble-macos]
|
needs: [linux, macos, windows, cross, assemble-macos]
|
||||||
if: startsWith(github.ref, 'refs/tags/v') && github.server_url == 'https://github.com'
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Download all artifacts
|
- name: Download all artifacts
|
||||||
@@ -100,8 +87,25 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Gitea release
|
||||||
uses: softprops/action-gh-release@v2
|
env:
|
||||||
with:
|
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||||
files: release/*
|
run: |
|
||||||
generate_release_notes: true
|
TAG="${GITEA_REF_NAME:-manual-$(date +%Y%m%d-%H%M%S)}"
|
||||||
|
API_URL="${GITHUB_SERVER_URL}/api/v1/repos/${GITHUB_REPOSITORY}/releases"
|
||||||
|
|
||||||
|
RELEASE_ID=$(curl -s -X POST "$API_URL" \
|
||||||
|
-H "Authorization: token $GITEA_TOKEN" \
|
||||||
|
-H "Content-Type: application/json" \
|
||||||
|
-d "{\"tag_name\": \"$TAG\", \"name\": \"$TAG\", \"draft\": true}" \
|
||||||
|
| jq -r '.id')
|
||||||
|
|
||||||
|
for file in release/*; do
|
||||||
|
filename=$(basename "$file")
|
||||||
|
curl -s -X POST "$API_URL/$RELEASE_ID/assets?name=$filename" \
|
||||||
|
-H "Authorization: token $GITEA_TOKEN" \
|
||||||
|
-H "Content-Type: application/octet-stream" \
|
||||||
|
--data-binary "@$file"
|
||||||
|
done
|
||||||
|
|
||||||
|
echo "Release $TAG created as draft with $(ls release | wc -l) assets"
|
||||||
18
.github/workflows/build-plugins.yml
vendored
18
.github/workflows/build-plugins.yml
vendored
@@ -1,18 +0,0 @@
|
|||||||
name: Build Plugins
|
|
||||||
|
|
||||||
on:
|
|
||||||
workflow_call:
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
linux:
|
|
||||||
uses: ./.github/workflows/build-plugins-linux.yml
|
|
||||||
|
|
||||||
macos:
|
|
||||||
uses: ./.github/workflows/build-plugins-macos.yml
|
|
||||||
|
|
||||||
windows:
|
|
||||||
uses: ./.github/workflows/build-plugins-windows.yml
|
|
||||||
|
|
||||||
rpi:
|
|
||||||
uses: ./.github/workflows/build-plugins-rpi.yml
|
|
||||||
28
.github/workflows/ci.yml
vendored
28
.github/workflows/ci.yml
vendored
@@ -1,28 +0,0 @@
|
|||||||
name: CI
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
tags: ['v*']
|
|
||||||
|
|
||||||
concurrency:
|
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
|
||||||
cancel-in-progress: true
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
linux:
|
|
||||||
uses: ./.github/workflows/build-linux.yml
|
|
||||||
with:
|
|
||||||
run-tests: true
|
|
||||||
run-clippy: true
|
|
||||||
|
|
||||||
macos:
|
|
||||||
uses: ./.github/workflows/build-macos.yml
|
|
||||||
with:
|
|
||||||
run-tests: true
|
|
||||||
run-clippy: true
|
|
||||||
|
|
||||||
windows:
|
|
||||||
uses: ./.github/workflows/build-windows.yml
|
|
||||||
with:
|
|
||||||
run-tests: true
|
|
||||||
run-clippy: true
|
|
||||||
59
.github/workflows/pages.yml
vendored
59
.github/workflows/pages.yml
vendored
@@ -1,59 +0,0 @@
|
|||||||
name: Deploy Website
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [main]
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
pages: write
|
|
||||||
id-token: write
|
|
||||||
|
|
||||||
concurrency:
|
|
||||||
group: pages
|
|
||||||
cancel-in-progress: true
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
deploy:
|
|
||||||
if: github.server_url == 'https://github.com'
|
|
||||||
environment:
|
|
||||||
name: github-pages
|
|
||||||
url: ${{ steps.deployment.outputs.page_url }}
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
timeout-minutes: 5
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Setup pnpm
|
|
||||||
uses: pnpm/action-setup@v4
|
|
||||||
with:
|
|
||||||
version: 9
|
|
||||||
|
|
||||||
- name: Setup Node.js
|
|
||||||
uses: actions/setup-node@v4
|
|
||||||
with:
|
|
||||||
node-version: 22
|
|
||||||
cache: pnpm
|
|
||||||
cache-dependency-path: website/pnpm-lock.yaml
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
run: pnpm install
|
|
||||||
working-directory: website
|
|
||||||
|
|
||||||
- name: Build
|
|
||||||
run: pnpm build
|
|
||||||
working-directory: website
|
|
||||||
|
|
||||||
- name: Setup Pages
|
|
||||||
uses: actions/configure-pages@v4
|
|
||||||
|
|
||||||
- name: Upload artifact
|
|
||||||
uses: actions/upload-pages-artifact@v3
|
|
||||||
with:
|
|
||||||
path: website/dist
|
|
||||||
|
|
||||||
- name: Deploy to GitHub Pages
|
|
||||||
id: deployment
|
|
||||||
uses: actions/deploy-pages@v4
|
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
## Quick Start
|
## Quick Start
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/Bubobubobubobubo/cagire
|
git clone https://git.raphaelforment.fr/BuboBubo/cagire
|
||||||
cd cagire
|
cd cagire
|
||||||
cargo build --release
|
cargo build --release
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ version = "0.1.3"
|
|||||||
edition = "2021"
|
edition = "2021"
|
||||||
authors = ["Raphaël Forment <raphael.forment@gmail.com>"]
|
authors = ["Raphaël Forment <raphael.forment@gmail.com>"]
|
||||||
license = "AGPL-3.0"
|
license = "AGPL-3.0"
|
||||||
repository = "https://github.com/Bubobubobubobubo/cagire"
|
repository = "https://git.raphaelforment.fr/BuboBubo/cagire"
|
||||||
homepage = "https://cagire.raphaelforment.fr"
|
homepage = "https://cagire.raphaelforment.fr"
|
||||||
description = "Forth-based live coding music sequencer"
|
description = "Forth-based live coding music sequencer"
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<a href="https://cagire.raphaelforment.fr">Website</a> ·
|
<a href="https://cagire.raphaelforment.fr">Website</a> ·
|
||||||
<a href="https://github.com/Bubobubobubobubo/cagire">GitHub</a> ·
|
<a href="https://git.raphaelforment.fr/BuboBubo/cagire">Gitea</a> ·
|
||||||
AGPL-3.0
|
AGPL-3.0
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ Section "Cagire (required)" SecCore
|
|||||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Cagire" "Publisher" "Raphael Forment"
|
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Cagire" "Publisher" "Raphael Forment"
|
||||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Cagire" "UninstallString" '"$INSTDIR\uninstall.exe"'
|
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Cagire" "UninstallString" '"$INSTDIR\uninstall.exe"'
|
||||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Cagire" "DisplayIcon" '"$INSTDIR\cagire-desktop.exe"'
|
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Cagire" "DisplayIcon" '"$INSTDIR\cagire-desktop.exe"'
|
||||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Cagire" "URLInfoAbout" "https://github.com/Bubobubobubobubo/cagire"
|
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Cagire" "URLInfoAbout" "https://git.raphaelforment.fr/BuboBubo/cagire"
|
||||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Cagire" "HelpLink" "https://cagire.raphaelforment.fr"
|
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Cagire" "HelpLink" "https://cagire.raphaelforment.fr"
|
||||||
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Cagire" "NoModify" 1
|
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Cagire" "NoModify" 1
|
||||||
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Cagire" "NoRepair" 1
|
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Cagire" "NoRepair" 1
|
||||||
|
|||||||
15
plugins/nih-plug-egui/LICENSE
Normal file
15
plugins/nih-plug-egui/LICENSE
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
ISC License
|
||||||
|
|
||||||
|
Copyright (c) Robbert van der Helm <mail@robbertvanderhelm.nl>
|
||||||
|
|
||||||
|
Permission to use, copy, modify, and/or distribute this software for any
|
||||||
|
purpose with or without fee is hereby granted, provided that the above
|
||||||
|
copyright notice and this permission notice appear in all copies.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||||||
|
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
||||||
|
FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||||
|
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||||
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||||||
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||||
|
PERFORMANCE OF THIS SOFTWARE.
|
||||||
@@ -87,11 +87,11 @@ const DL = 'https://dlcagire.raphaelforment.fr';
|
|||||||
<tr>
|
<tr>
|
||||||
<td>Windows (x86_64)</td>
|
<td>Windows (x86_64)</td>
|
||||||
<td><a href={`${DL}/cagire-windows-x86_64.zip`}>zip</a></td>
|
<td><a href={`${DL}/cagire-windows-x86_64.zip`}>zip</a></td>
|
||||||
<td><a href={`${DL}/cagire-desktop-windows-x86_64.zip`}>zip</a> · <s>.msi</s></td>
|
<td><a href={`${DL}/cagire-windows-x86_64-desktop.zip`}>zip</a> · <a href={`${DL}/cagire-windows-x86_64-installer.zip`}>installer</a></td>
|
||||||
<td><a href={`${DL}/plugins-windows-x86_64-clap.zip`}>CLAP</a> · <a href={`${DL}/plugins-windows-x86_64-vst3.zip`}>VST3</a></td>
|
<td><a href={`${DL}/cagire-windows-x86_64-clap.zip`}>CLAP</a> · <a href={`${DL}/cagire-windows-x86_64-vst3.zip`}>VST3</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<p class="note">Source code and issue tracker on <a href="https://github.com/Bubobubobubobubo/cagire">GitHub</a>. You can also compile the software yourself from source!</p>
|
<p class="note">Source code and issue tracker on <a href="https://git.raphaelforment.fr/BuboBubo/cagire">Gitea</a>. You can also compile the software yourself from source!</p>
|
||||||
|
|
||||||
|
|
||||||
<h2>Documentation</h2>
|
<h2>Documentation</h2>
|
||||||
@@ -128,7 +128,7 @@ const DL = 'https://dlcagire.raphaelforment.fr';
|
|||||||
<video src="/mono_cagire.mp4" autoplay muted loop playsinline></video>
|
<video src="/mono_cagire.mp4" autoplay muted loop playsinline></video>
|
||||||
|
|
||||||
<p class="colophon">
|
<p class="colophon">
|
||||||
<a href="https://raphaelforment.fr">BuboBubo</a> · Audio engine: <a href="https://doux.livecoding.fr">Doux</a> · <a href="https://github.com/Bubobubobubobubo/cagire">GitHub</a> · <a href="/docs">Docs</a> · AGPL-3.0 </p>
|
<a href="https://raphaelforment.fr">BuboBubo</a> · Audio engine: <a href="https://doux.livecoding.fr">Doux</a> · <a href="https://git.raphaelforment.fr/BuboBubo/cagire">Gitea</a> · <a href="/docs">Docs</a> · AGPL-3.0 </p>
|
||||||
|
|
||||||
<script is:inline src="/script.js"></script>
|
<script is:inline src="/script.js"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
@@ -1,20 +0,0 @@
|
|||||||
{\rtf1\ansi\deff0\nouicompat{\fonttbl{\f0\fswiss\fcharset0 Helvetica;}}
|
|
||||||
{\*\generator Msftedit 5.41.21.2510;}\viewkind4\uc1
|
|
||||||
\pard\sa200\sl276\slmult1\f0\fs20\lang9
|
|
||||||
|
|
||||||
CAGIRE - Forth-based Music Sequencer\par
|
|
||||||
Copyright (c) 2025 Rapha\"el Forment\par
|
|
||||||
\par
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Affero General Public License as published
|
|
||||||
by the Free Software Foundation, either version 3 of the License, or
|
|
||||||
(at your option) any later version.\par
|
|
||||||
\par
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU Affero General Public License for more details.\par
|
|
||||||
\par
|
|
||||||
You should have received a copy of the GNU Affero General Public License
|
|
||||||
along with this program. If not, see https://www.gnu.org/licenses/.\par
|
|
||||||
}
|
|
||||||
146
wix/main.wxs
146
wix/main.wxs
@@ -1,146 +0,0 @@
|
|||||||
<?xml version='1.0' encoding='windows-1252'?>
|
|
||||||
|
|
||||||
<?if $(sys.BUILDARCH) = x64 or $(sys.BUILDARCH) = intel64 ?>
|
|
||||||
<?define PlatformProgramFilesFolder = "ProgramFiles64Folder" ?>
|
|
||||||
<?else ?>
|
|
||||||
<?define PlatformProgramFilesFolder = "ProgramFilesFolder" ?>
|
|
||||||
<?endif ?>
|
|
||||||
|
|
||||||
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>
|
|
||||||
|
|
||||||
<Product
|
|
||||||
Id='*'
|
|
||||||
Name='Cagire'
|
|
||||||
UpgradeCode='F2A3D4E5-6B7C-8D9E-0F1A-2B3C4D5E6F7A'
|
|
||||||
Manufacturer='Raphael Forment'
|
|
||||||
Language='1033'
|
|
||||||
Codepage='1252'
|
|
||||||
Version='$(var.Version)'>
|
|
||||||
|
|
||||||
<Package Id='*'
|
|
||||||
Keywords='Installer'
|
|
||||||
Description='Cagire - Forth-based music sequencer'
|
|
||||||
Manufacturer='Raphael Forment'
|
|
||||||
InstallerVersion='450'
|
|
||||||
Languages='1033'
|
|
||||||
Compressed='yes'
|
|
||||||
InstallScope='perMachine'
|
|
||||||
SummaryCodepage='1252'
|
|
||||||
/>
|
|
||||||
|
|
||||||
<MajorUpgrade
|
|
||||||
Schedule='afterInstallInitialize'
|
|
||||||
DowngradeErrorMessage='A newer version of [ProductName] is already installed. Setup will now exit.'/>
|
|
||||||
|
|
||||||
<Media Id='1' Cabinet='media1.cab' EmbedCab='yes' DiskPrompt='CD-ROM #1'/>
|
|
||||||
<Property Id='DiskPrompt' Value='Cagire Installation'/>
|
|
||||||
|
|
||||||
<Directory Id='TARGETDIR' Name='SourceDir'>
|
|
||||||
<Directory Id='$(var.PlatformProgramFilesFolder)' Name='PFiles'>
|
|
||||||
<Directory Id='APPLICATIONFOLDER' Name='Cagire'>
|
|
||||||
|
|
||||||
<Component Id='CagireCLI' Guid='A1B2C3D4-E5F6-7890-ABCD-EF1234567890' Win64='yes'>
|
|
||||||
<File
|
|
||||||
Id='CagireEXE'
|
|
||||||
Name='cagire.exe'
|
|
||||||
DiskId='1'
|
|
||||||
Source='$(var.CargoTargetBinDir)\cagire.exe'
|
|
||||||
KeyPath='yes'/>
|
|
||||||
</Component>
|
|
||||||
|
|
||||||
<Component Id='CagireDesktop' Guid='B2C3D4E5-F6A7-8901-BCDE-F12345678901' Win64='yes'>
|
|
||||||
<File
|
|
||||||
Id='CagireDesktopEXE'
|
|
||||||
Name='cagire-desktop.exe'
|
|
||||||
DiskId='1'
|
|
||||||
Source='$(var.CargoTargetBinDir)\cagire-desktop.exe'
|
|
||||||
KeyPath='yes'/>
|
|
||||||
</Component>
|
|
||||||
|
|
||||||
<Component Id='PathEntry' Guid='C3D4E5F6-A7B8-9012-CDEF-123456789012' Win64='yes' KeyPath='yes'>
|
|
||||||
<Environment
|
|
||||||
Id='PATH'
|
|
||||||
Name='PATH'
|
|
||||||
Value='[APPLICATIONFOLDER]'
|
|
||||||
Permanent='no'
|
|
||||||
Part='last'
|
|
||||||
Action='set'
|
|
||||||
System='yes'/>
|
|
||||||
</Component>
|
|
||||||
|
|
||||||
</Directory>
|
|
||||||
</Directory>
|
|
||||||
|
|
||||||
<Directory Id='ProgramMenuFolder'>
|
|
||||||
<Directory Id='ApplicationProgramsFolder' Name='Cagire'>
|
|
||||||
<Component Id='StartMenuShortcut' Guid='D4E5F6A7-B8C9-0123-DEFA-234567890123' Win64='yes'>
|
|
||||||
<Shortcut
|
|
||||||
Id='CagireDesktopShortcut'
|
|
||||||
Name='Cagire'
|
|
||||||
Description='Forth-based music sequencer'
|
|
||||||
Target='[APPLICATIONFOLDER]cagire-desktop.exe'
|
|
||||||
WorkingDirectory='APPLICATIONFOLDER'
|
|
||||||
Icon='CagireIcon.exe'/>
|
|
||||||
<RemoveFolder Id='CleanUpShortcutFolder' On='uninstall'/>
|
|
||||||
<RegistryValue
|
|
||||||
Root='HKCU'
|
|
||||||
Key='Software\Cagire'
|
|
||||||
Name='installed'
|
|
||||||
Type='integer'
|
|
||||||
Value='1'
|
|
||||||
KeyPath='yes'/>
|
|
||||||
</Component>
|
|
||||||
</Directory>
|
|
||||||
</Directory>
|
|
||||||
</Directory>
|
|
||||||
|
|
||||||
<Feature
|
|
||||||
Id='Binaries'
|
|
||||||
Title='Application'
|
|
||||||
Description='Installs Cagire CLI and Desktop binaries.'
|
|
||||||
Level='1'
|
|
||||||
ConfigurableDirectory='APPLICATIONFOLDER'
|
|
||||||
AllowAdvertise='no'
|
|
||||||
Display='expand'
|
|
||||||
Absent='disallow'>
|
|
||||||
|
|
||||||
<ComponentRef Id='CagireCLI'/>
|
|
||||||
<ComponentRef Id='CagireDesktop'/>
|
|
||||||
|
|
||||||
<Feature
|
|
||||||
Id='Environment'
|
|
||||||
Title='PATH Environment Variable'
|
|
||||||
Description='Add the install location to the PATH system environment variable. This allows the cagire CLI to be called from any location.'
|
|
||||||
Level='1'
|
|
||||||
Absent='allow'>
|
|
||||||
<ComponentRef Id='PathEntry'/>
|
|
||||||
</Feature>
|
|
||||||
</Feature>
|
|
||||||
|
|
||||||
<Feature
|
|
||||||
Id='StartMenu'
|
|
||||||
Title='Start Menu Shortcut'
|
|
||||||
Description='Add a Cagire shortcut to the Start Menu.'
|
|
||||||
Level='1'
|
|
||||||
Absent='allow'>
|
|
||||||
<ComponentRef Id='StartMenuShortcut'/>
|
|
||||||
</Feature>
|
|
||||||
|
|
||||||
<SetProperty Id='ARPINSTALLLOCATION' Value='[APPLICATIONFOLDER]' After='CostFinalize'/>
|
|
||||||
|
|
||||||
<Icon Id='CagireIcon.exe' SourceFile='assets\Cagire.ico'/>
|
|
||||||
<Property Id='ARPPRODUCTICON' Value='CagireIcon.exe'/>
|
|
||||||
<Property Id='ARPHELPLINK' Value='https://cagire.raphaelforment.fr'/>
|
|
||||||
<Property Id='ARPURLINFOABOUT' Value='https://github.com/Bubobubobubobubo/cagire'/>
|
|
||||||
|
|
||||||
<UI>
|
|
||||||
<UIRef Id='WixUI_FeatureTree'/>
|
|
||||||
<Publish Dialog='WelcomeDlg' Control='Next' Event='NewDialog' Value='CustomizeDlg' Order='99'>1</Publish>
|
|
||||||
<Publish Dialog='CustomizeDlg' Control='Back' Event='NewDialog' Value='WelcomeDlg' Order='99'>1</Publish>
|
|
||||||
</UI>
|
|
||||||
|
|
||||||
<WixVariable Id='WixUILicenseRtf' Value='wix\License.rtf'/>
|
|
||||||
|
|
||||||
</Product>
|
|
||||||
|
|
||||||
</Wix>
|
|
||||||
Reference in New Issue
Block a user