Skip to content

Commit

Permalink
rename desktop-solid to desktop
Browse files Browse the repository at this point in the history
  • Loading branch information
Brendonovich committed Sep 11, 2024
1 parent d7af266 commit de60f84
Show file tree
Hide file tree
Showing 121 changed files with 140 additions and 242 deletions.
6 changes: 4 additions & 2 deletions .github/prebuild.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,13 @@ rustflags = [
});

await fs.writeFile(
`${__root}/apps/desktop-solid/src-tauri/tauri.macos.conf.json`,
`${__root}/apps/desktop/src-tauri/tauri.macos.conf.json`,
JSON.stringify(
{
bundle: {
macOS: { frameworks: [path.join(nativeDeps, "Spacedrive.framework")] },
macOS: {
frameworks: [path.join(nativeDeps, "Spacedrive.framework")],
},
},
},
null,
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on: workflow_dispatch

env:
CN_APPLICATION: cap/cap
APP_CARGO_TOML: apps/desktop-solid/src-tauri/Cargo.toml
APP_CARGO_TOML: apps/desktop/src-tauri/Cargo.toml

jobs:
draft:
Expand Down Expand Up @@ -133,14 +133,14 @@ jobs:
echo 'NEXTAUTH_URL=${NEXT_PUBLIC_URL}' >> .env
echo 'VITE_SERVER_URL=${NEXT_PUBLIC_URL}' >> .env
- name: Copy .env to apps/desktop-solid
run: cp .env apps/desktop-solid/.env
- name: Copy .env to apps/desktop
run: cp .env apps/desktop/.env

- name: Output .env file
run: cat apps/desktop-solid/.env
run: cat apps/desktop/.env

- name: Build MacOS Apps
working-directory: apps/desktop-solid
working-directory: apps/desktop
run: |
node ${{ github.workspace }}/.github/prebuild.js ${{ matrix.settings.prebuild }}
pnpm tauri build --target ${{ matrix.settings.target }}
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[workspace]
resolver = "2"
members = [
"apps/desktop-solid/src-tauri",
"apps/desktop/src-tauri",
"crates/rendering",
"crates/ffmpeg",
"crates/utils",
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<p align="center">
<p align="center">
<img width="150" height="150" src="https://github.com/CapSoftware/Cap/blob/main/apps/desktop-solid/src-tauri/icons/Square310x310Logo.png" alt="Logo">
<img width="150" height="150" src="https://github.com/CapSoftware/Cap/blob/main/apps/desktop/src-tauri/icons/Square310x310Logo.png" alt="Logo">
</p>
<h1 align="center"><b>Cap</b></h1>
<p align="center">
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "desktop-solid",
"name": "@cap/desktop",
"type": "module",
"scripts": {
"dev": "dotenv -e ../../.env -- tauri dev",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<array>
<dict>
<key>CFBundleURLName</key>
<string>so.cap.desktop-solid</string>
<string>so.cap.desktop</string>
<key>CFBundleURLSchemes</key>
<array>
<string>caprecorder</string>
Expand Down
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "../node_modules/@tauri-apps/cli/schema.json",
"productName": "Cap",
"identifier": "so.cap.desktop-solid",
"identifier": "so.cap.desktop",
"build": {
"beforeDevCommand": "pnpm localdev",
"devUrl": "http://localhost:3001",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { writeFile, readFile } from "@tauri-apps/plugin-fs";
import MP4Box from "mp4box";

const outputFilePath =
"/Users/richie/Library/Application Support/so.cap.desktop-solid/recordings/ac2909e0-2f5e-45ff-95e3-8efb50a56a12.cap/output/result.mp4";
"/Users/richie/Library/Application Support/so.cap.desktop/recordings/ac2909e0-2f5e-45ff-95e3-8efb50a56a12.cap/output/result.mp4";

interface VideoSettings {
webcamSize: { width: number; height: number };
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion crates/rendering/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#[tokio::main]
async fn main() {
// let project_path = PathBuf::from(
// r#"/Users/brendonovich/Library/Application Support/so.cap.desktop-solid/recordings/414f2abd-8186-479f-85e7-08a64411a33c.cap"#,
// r#"/Users/brendonovich/Library/Application Support/so.cap.desktop/recordings/414f2abd-8186-479f-85e7-08a64411a33c.cap"#,
// );

// let mut project: ProjectConfiguration = ProjectConfiguration::default();
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
"db:push": "dotenv -e .env -- pnpm --dir packages/database db:push",
"db:generate": "dotenv -e .env -- pnpm --dir packages/database db:generate",
"tauri:build": "dotenv -e .env -- pnpm --dir apps/desktop-solid tauri build --verbose"
"tauri:build": "dotenv -e .env -- pnpm --dir apps/desktop tauri build --verbose"
},
"devDependencies": {
"@turbo/gen": "^1.9.7",
Expand Down
Loading

1 comment on commit de60f84

@vercel
Copy link

@vercel vercel bot commented on de60f84 Sep 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.