diff --git a/README.md b/README.md index ec44009..923f967 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -![Telegram Mini App Studio](https://github.com/erfanmola/TMA-Studio/blob/master/resources/cover.png?raw=true) +![Telegram Mini App Studio](https://github.com/erfanmola/TMA-Studio/blob/master/demo/cover.png?raw=true) # Telegram Mini App Studio -The ultimate development and testing environment for Telegram Mini Apps. Build, test, and debug your apps locally with full support for Telegram's features, including Mini Apps 2.0 compatibility. You can the watch the [full usage demo](https://github.com/erfanmola/TMA-Studio/raw/refs/heads/master/resources/demo-2-4k-60FPS.mp4). +The ultimate development and testing environment for Telegram Mini Apps. Build, test, and debug your apps locally with full support for Telegram's features, including Mini Apps 2.0 compatibility. You can the watch the [full usage demo](https://github.com/erfanmola/TMA-Studio/raw/refs/heads/master/demo/demo-2-4k-60FPS.mp4). ## Features @@ -23,11 +23,11 @@ The ultimate development and testing environment for Telegram Mini Apps. Build, - **Familiar Developer UI**: Inspired by VSCode with multiple tabs and projects, enhancing productivity. -![DPXWallet Demo](https://github.com/erfanmola/TMA-Studio/blob/master/resources/demo-2.png?raw=true) +![DPXWallet Demo](https://github.com/erfanmola/TMA-Studio/blob/master/demo/demo-2.png?raw=true) -![TMA Studio Sample Demo](https://github.com/erfanmola/TMA-Studio/blob/master/resources/demo-3.png?raw=true) +![TMA Studio Sample Demo](https://github.com/erfanmola/TMA-Studio/blob/master/demo/demo-3.png?raw=true) -![Simplist Floating Demo](https://github.com/erfanmola/TMA-Studio/blob/master/resources/demo-4.png?raw=true) +![Simplist Floating Demo](https://github.com/erfanmola/TMA-Studio/blob/master/demo/demo-4.png?raw=true) https://github.com/user-attachments/assets/c6f3f79c-d56d-4329-86f2-8a8d7acb68ae diff --git a/resources/cover.png b/demo/cover.png similarity index 100% rename from resources/cover.png rename to demo/cover.png diff --git a/resources/demo-2-1080P-30FPS.mp4 b/demo/demo-2-1080P-30FPS.mp4 similarity index 100% rename from resources/demo-2-1080P-30FPS.mp4 rename to demo/demo-2-1080P-30FPS.mp4 diff --git a/resources/demo-2-4k-60FPS.mp4 b/demo/demo-2-4k-60FPS.mp4 similarity index 100% rename from resources/demo-2-4k-60FPS.mp4 rename to demo/demo-2-4k-60FPS.mp4 diff --git a/resources/demo-2.png b/demo/demo-2.png similarity index 100% rename from resources/demo-2.png rename to demo/demo-2.png diff --git a/resources/demo-3.png b/demo/demo-3.png similarity index 100% rename from resources/demo-3.png rename to demo/demo-3.png diff --git a/resources/demo-4.png b/demo/demo-4.png similarity index 100% rename from resources/demo-4.png rename to demo/demo-4.png diff --git a/resources/demo.mp4 b/demo/demo.mp4 similarity index 100% rename from resources/demo.mp4 rename to demo/demo.mp4 diff --git a/electron-builder.yml b/electron-builder.yml index e5452ae..841a644 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -9,6 +9,8 @@ files: - '!{.eslintignore,.eslintrc.cjs,dev-app-update.yml,CHANGELOG.md,README.md}' - '!{.env,.env.*,.npmrc,pnpm-lock.yaml}' - '!{tsconfig.json,tsconfig.node.json,tsconfig.web.json}' + - '!demo/*' + - '!website/*' asarUnpack: - resources/** win: diff --git a/bin/macos-haptic b/resources/bin/macos-haptic similarity index 100% rename from bin/macos-haptic rename to resources/bin/macos-haptic diff --git a/src/main/index.ts b/src/main/index.ts index 7af90ab..dbed126 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -304,7 +304,7 @@ app.whenReady().then(() => { // Haptic Feedback ipcMain.on('haptic-feedback', async (_) => { if (os.platform() === 'darwin') { - execFile(path.resolve(app.getAppPath(), 'bin', 'macos-haptic')); + execFile(path.resolve(app.getAppPath(), 'resources', 'bin', 'macos-haptic')); } }); diff --git a/website/src/pages/Home.tsx b/website/src/pages/Home.tsx index 0b49bac..fcfa74c 100644 --- a/website/src/pages/Home.tsx +++ b/website/src/pages/Home.tsx @@ -58,7 +58,7 @@ const SectionFeatures: Component = () => {