Merge remote-tracking branch 'origin/master' into dev
This commit is contained in:
2
LICENSE
2
LICENSE
@@ -1,6 +1,6 @@
|
|||||||
MIT License
|
MIT License
|
||||||
|
|
||||||
Copyright (c) 2022 Tw93
|
Copyright (c) 2023 Tw93
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
|||||||
12
README.md
12
README.md
@@ -59,7 +59,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><img src=https://cdn.fliggy.com/upic/Ld5ZCJ.png width=600/></td>
|
<td><img src=https://cdn.fliggy.com/upic/Ld5ZCJ.png width=600/></td>
|
||||||
<td><img src=https://cdn.fliggy.com/upic/7QUfi3.png width=600/></td>
|
<td><img src=https://gw.alipayobjects.com/zos/k/95/bcGBut.png width=600/></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>YouTube Music
|
<td>YouTube Music
|
||||||
@@ -75,7 +75,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><img src=https://cdn.fliggy.com/upic/iz3mtQ.png width=600/></td>
|
<td><img src=https://cdn.fliggy.com/upic/iz3mtQ.png width=600/></td>
|
||||||
<td><img src=https://cdn.fliggy.com/upic/s4ZLNC.jpg width=600/></td>
|
<td><img src=https://gw.alipayobjects.com/zos/k/pn/1.jpg width=600/></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>LiZhi
|
<td>LiZhi
|
||||||
@@ -91,7 +91,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><img src=https://cdn.fliggy.com/upic/nYEKqN.jpg width=600/></td>
|
<td><img src=https://cdn.fliggy.com/upic/nYEKqN.jpg width=600/></td>
|
||||||
<td><img src=https://cdn.fliggy.com/upic/0C9lju.jpg width=600/></td>
|
<td><img src=https://gw.alipayobjects.com/zos/k/r7/0C9lju.jpg width=600/></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Qwerty
|
<td>Qwerty
|
||||||
@@ -123,7 +123,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><img src=https://gw.alipayobjects.com/zos/k/30/RoUSUf.png width=600/></td>
|
<td><img src=https://gw.alipayobjects.com/zos/k/30/RoUSUf.png width=600/></td>
|
||||||
<td><img src=https://cdn.fliggy.com/upic/yJVwyi.png width=600/></td>
|
<td><img src=https://gw.alipayobjects.com/zos/k/89/yJVwyi.png width=600/></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
@@ -159,7 +159,7 @@ In addition, double-click the title bar to switch to full-screen mode. For Mac u
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
**Pake provides a command line tool, making the flow of package customization quicker and easier. See [documentation](./bin/README_CN.md) for more information.**
|
**Pake provides a command line tool, making the flow of package customization quicker and easier. See [documentation](./bin/README.md) for more information.**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Install with npm
|
# Install with npm
|
||||||
@@ -198,7 +198,7 @@ npm run build
|
|||||||
3. For configurations on window properties, you can modify the `pake.json` file to change the value of `width`, `height`, `fullscreen` (or not), `resizable` (or not) of the `windows` property. To adapt to the immersive header on Mac, change `transparent` to `true`, look for the `Header` element, and add the `padding-top` property.
|
3. For configurations on window properties, you can modify the `pake.json` file to change the value of `width`, `height`, `fullscreen` (or not), `resizable` (or not) of the `windows` property. To adapt to the immersive header on Mac, change `transparent` to `true`, look for the `Header` element, and add the `padding-top` property.
|
||||||
4. For advanced usages such as style rewriting, advertisement removal, JS injection, container message communication, and user-defined shortcut keys, see [Advanced Usage of Pake](https://github.com/tw93/Pake/wiki/Advanced-Usage-of-Pake).
|
4. For advanced usages such as style rewriting, advertisement removal, JS injection, container message communication, and user-defined shortcut keys, see [Advanced Usage of Pake](https://github.com/tw93/Pake/wiki/Advanced-Usage-of-Pake).
|
||||||
|
|
||||||
## Developer
|
## Developers
|
||||||
|
|
||||||
Pake's development can not be without these Hackers. They contributed a lot of capabilities for Pake. Also, welcome to follow them! ❤️
|
Pake's development can not be without these Hackers. They contributed a lot of capabilities for Pake. Also, welcome to follow them! ❤️
|
||||||
|
|
||||||
|
|||||||
22
README_CN.md
22
README_CN.md
@@ -58,7 +58,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><img src=https://cdn.fliggy.com/upic/Ld5ZCJ.png width=600/></td>
|
<td><img src=https://cdn.fliggy.com/upic/Ld5ZCJ.png width=600/></td>
|
||||||
<td><img src=https://cdn.fliggy.com/upic/7QUfi3.png width=600/></td>
|
<td><img src=https://gw.alipayobjects.com/zos/k/95/bcGBut.png width=600/></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>YouTube Music
|
<td>YouTube Music
|
||||||
@@ -74,7 +74,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><img src=https://cdn.fliggy.com/upic/iz3mtQ.png width=600/></td>
|
<td><img src=https://cdn.fliggy.com/upic/iz3mtQ.png width=600/></td>
|
||||||
<td><img src=https://cdn.fliggy.com/upic/s4ZLNC.jpg width=600/></td>
|
<td><img src=https://gw.alipayobjects.com/zos/k/pn/1.jpg width=600/></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>LiZhi
|
<td>LiZhi
|
||||||
@@ -90,7 +90,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><img src=https://cdn.fliggy.com/upic/nYEKqN.jpg width=600/></td>
|
<td><img src=https://cdn.fliggy.com/upic/nYEKqN.jpg width=600/></td>
|
||||||
<td><img src=https://cdn.fliggy.com/upic/0C9lju.jpg width=600/></td>
|
<td><img src=https://gw.alipayobjects.com/zos/k/r7/0C9lju.jpg width=600/></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Qwerty
|
<td>Qwerty
|
||||||
@@ -122,7 +122,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><img src=https://gw.alipayobjects.com/zos/k/30/RoUSUf.png width=600/></td>
|
<td><img src=https://gw.alipayobjects.com/zos/k/30/RoUSUf.png width=600/></td>
|
||||||
<td><img src=https://cdn.fliggy.com/upic/yJVwyi.png width=600/></td>
|
<td><img src=https://gw.alipayobjects.com/zos/k/89/yJVwyi.png width=600/></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
@@ -271,6 +271,13 @@ Pake 的发展离不开这些 Hacker 们,一起贡献了大量能力,也欢
|
|||||||
<sub><b>Pake Actions</b></sub>
|
<sub><b>Pake Actions</b></sub>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
|
<td align="center">
|
||||||
|
<a href="https://github.com/jeasonnow">
|
||||||
|
<img src="https://avatars.githubusercontent.com/u/16950207?v=4" width="90;" alt="jeasonnow"/>
|
||||||
|
<br />
|
||||||
|
<sub><b>Santree</b></sub>
|
||||||
|
</a>
|
||||||
|
</td>
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<a href="https://github.com/QingZ11">
|
<a href="https://github.com/QingZ11">
|
||||||
<img src="https://avatars.githubusercontent.com/u/38887077?v=4" width="90;" alt="QingZ11"/>
|
<img src="https://avatars.githubusercontent.com/u/38887077?v=4" width="90;" alt="QingZ11"/>
|
||||||
@@ -285,13 +292,6 @@ Pake 的发展离不开这些 Hacker 们,一起贡献了大量能力,也欢
|
|||||||
<sub><b>孟世博</b></sub>
|
<sub><b>孟世博</b></sub>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
<td align="center">
|
|
||||||
<a href="https://github.com/jeasonnow">
|
|
||||||
<img src="https://avatars.githubusercontent.com/u/16950207?v=4" width="90;" alt="jeasonnow"/>
|
|
||||||
<br />
|
|
||||||
<sub><b>Santree</b></sub>
|
|
||||||
</a>
|
|
||||||
</td>
|
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<a href="https://github.com/2nthony">
|
<a href="https://github.com/2nthony">
|
||||||
<img src="https://avatars.githubusercontent.com/u/19513289?v=4" width="90;" alt="2nthony"/>
|
<img src="https://avatars.githubusercontent.com/u/19513289?v=4" width="90;" alt="2nthony"/>
|
||||||
|
|||||||
3
bin/README_CN.md
vendored
3
bin/README_CN.md
vendored
@@ -11,8 +11,7 @@ npm install pake-cli -g
|
|||||||
## Windows/Linux 注意事项
|
## Windows/Linux 注意事项
|
||||||
|
|
||||||
- **非常重要**:请参阅 Tauri 的 [依赖项指南](https://tauri.app/v1/guides/getting-started/prerequisites)。
|
- **非常重要**:请参阅 Tauri 的 [依赖项指南](https://tauri.app/v1/guides/getting-started/prerequisites)。
|
||||||
- 对于 Windows 用户,请确保至少安装了 `Win10 SDK(10.0.19041.0)` 和 `Visual Studio Build Tools 2022(版本 17.2 或更高)`
|
- 对于 Windows 用户,请确保至少安装了 `Win10 SDK(10.0.19041.0)` 和 `Visual Studio Build Tools 2022(版本 17.2 或更高)`,此外还需要安装以下组件:
|
||||||
。此外,还需要安装以下组件:
|
|
||||||
|
|
||||||
1. Microsoft Visual C++ 2015-2022 Redistributable (x64)
|
1. Microsoft Visual C++ 2015-2022 Redistributable (x64)
|
||||||
2. Microsoft Visual C++ 2015-2022 Redistributable (x86)
|
2. Microsoft Visual C++ 2015-2022 Redistributable (x86)
|
||||||
|
|||||||
6
bin/builders/BaseBuilder.ts
vendored
6
bin/builders/BaseBuilder.ts
vendored
@@ -27,8 +27,8 @@ export default abstract class BaseBuilder {
|
|||||||
const tauriTargetPathExists = await fsExtra.pathExists(tauriTargetPath);
|
const tauriTargetPathExists = await fsExtra.pathExists(tauriTargetPath);
|
||||||
|
|
||||||
if (!IS_MAC && !tauriTargetPathExists) {
|
if (!IS_MAC && !tauriTargetPathExists) {
|
||||||
logger.info('✺ The first use requires installing system dependencies.');
|
logger.warn('✼ The first use requires installing system dependencies.');
|
||||||
logger.info('✺ See more in https://tauri.app/v1/guides/getting-started/prerequisites.');
|
logger.warn('✼ See more in https://tauri.app/v1/guides/getting-started/prerequisites.');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!checkRustInstalled()) {
|
if (!checkRustInstalled()) {
|
||||||
@@ -78,7 +78,7 @@ export default abstract class BaseBuilder {
|
|||||||
// Build app
|
// Build app
|
||||||
const spinner = getSpinner('Building app...');
|
const spinner = getSpinner('Building app...');
|
||||||
setTimeout(() => spinner.stop(), 3000);
|
setTimeout(() => spinner.stop(), 3000);
|
||||||
await shellExec(`cd ${npmDirectory} && ${this.getBuildCommand()}`);
|
await shellExec(`cd "${npmDirectory}" && ${this.getBuildCommand()}`);
|
||||||
|
|
||||||
// Copy app
|
// Copy app
|
||||||
const fileName = this.getFileName();
|
const fileName = this.getFileName();
|
||||||
|
|||||||
12
bin/cli.ts
vendored
12
bin/cli.ts
vendored
@@ -10,9 +10,17 @@ import handleInputOptions from './options/index';
|
|||||||
import { PakeCliOptions } from './types';
|
import { PakeCliOptions } from './types';
|
||||||
import { validateNumberInput, validateUrlInput } from './utils/validate';
|
import { validateNumberInput, validateUrlInput } from './utils/validate';
|
||||||
|
|
||||||
|
const { green, yellow }= chalk;
|
||||||
|
const logo = `${chalk.green(' ____ _')}
|
||||||
|
${green('| _ \\ __ _| | _____')}
|
||||||
|
${green('| |_) / _` | |/ / _ \\')}
|
||||||
|
${green('| __/ (_| | < __/')} ${yellow('https://github.com/tw93/pake')}
|
||||||
|
${green('|_| \\__,_|_|\\_\\___| can turn any webpage into a desktop app with Rust.')}
|
||||||
|
`;
|
||||||
|
|
||||||
program
|
program
|
||||||
.description(chalk.green('Pake can turn any webpage into a desktop app with Rust.'))
|
.addHelpText('beforeAll', logo)
|
||||||
.usage('[url] [options]')
|
.usage(`[url] [options]`)
|
||||||
.showHelpAfterError();
|
.showHelpAfterError();
|
||||||
|
|
||||||
program
|
program
|
||||||
|
|||||||
2
bin/helpers/updater.ts
vendored
2
bin/helpers/updater.ts
vendored
@@ -2,5 +2,5 @@ import updateNotifier from 'update-notifier';
|
|||||||
import packageJson from '../../package.json';
|
import packageJson from '../../package.json';
|
||||||
|
|
||||||
export async function checkUpdateTips() {
|
export async function checkUpdateTips() {
|
||||||
updateNotifier({ pkg: packageJson, updateCheckInterval: 1000 * 60 }).notify();
|
updateNotifier({ pkg: packageJson, updateCheckInterval: 1000 * 60 }).notify({ isGlobal: true });
|
||||||
}
|
}
|
||||||
|
|||||||
2
bin/utils/info.ts
vendored
2
bin/utils/info.ts
vendored
@@ -6,7 +6,7 @@ import chalk from 'chalk';
|
|||||||
// Generates an identifier based on the given URL.
|
// Generates an identifier based on the given URL.
|
||||||
export function getIdentifier(url: string) {
|
export function getIdentifier(url: string) {
|
||||||
const postFixHash = crypto.createHash('md5').update(url).digest('hex').substring(0, 6);
|
const postFixHash = crypto.createHash('md5').update(url).digest('hex').substring(0, 6);
|
||||||
return `pake-${postFixHash}`;
|
return `com.pake.${postFixHash}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function promptText(message: string, initial?: string): Promise<string> {
|
export async function promptText(message: string, initial?: string): Promise<string> {
|
||||||
|
|||||||
29
dist/cli.js
vendored
29
dist/cli.js
vendored
@@ -20,7 +20,7 @@ import isUrl from 'is-url';
|
|||||||
import fs from 'fs';
|
import fs from 'fs';
|
||||||
|
|
||||||
var name = "pake-cli";
|
var name = "pake-cli";
|
||||||
var version = "2.1.8";
|
var version = "2.1.12";
|
||||||
var description = "🤱🏻 Turn any webpage into a desktop app with Rust. 🤱🏻 很简单的用 Rust 打包网页生成很小的桌面 App。";
|
var description = "🤱🏻 Turn any webpage into a desktop app with Rust. 🤱🏻 很简单的用 Rust 打包网页生成很小的桌面 App。";
|
||||||
var engines = {
|
var engines = {
|
||||||
node: ">=16.0.0"
|
node: ">=16.0.0"
|
||||||
@@ -205,7 +205,7 @@ var tauri$2 = {
|
|||||||
"png/weread_256.ico",
|
"png/weread_256.ico",
|
||||||
"png/weread_32.ico"
|
"png/weread_32.ico"
|
||||||
],
|
],
|
||||||
identifier: "com.tw93.weread",
|
identifier: "com.pake.weread",
|
||||||
active: true,
|
active: true,
|
||||||
category: "DeveloperTool",
|
category: "DeveloperTool",
|
||||||
copyright: "",
|
copyright: "",
|
||||||
@@ -241,7 +241,7 @@ var tauri$1 = {
|
|||||||
icon: [
|
icon: [
|
||||||
"icons/weread.icns"
|
"icons/weread.icns"
|
||||||
],
|
],
|
||||||
identifier: "com.tw93.weread",
|
identifier: "com.pake.weread",
|
||||||
active: true,
|
active: true,
|
||||||
category: "DeveloperTool",
|
category: "DeveloperTool",
|
||||||
copyright: "",
|
copyright: "",
|
||||||
@@ -273,7 +273,7 @@ var tauri = {
|
|||||||
icon: [
|
icon: [
|
||||||
"png/weread_512.png"
|
"png/weread_512.png"
|
||||||
],
|
],
|
||||||
identifier: "com.tw93.weread",
|
identifier: "com.pake.weread",
|
||||||
active: true,
|
active: true,
|
||||||
category: "DeveloperTool",
|
category: "DeveloperTool",
|
||||||
copyright: "",
|
copyright: "",
|
||||||
@@ -283,7 +283,7 @@ var tauri = {
|
|||||||
"wget"
|
"wget"
|
||||||
],
|
],
|
||||||
files: {
|
files: {
|
||||||
"/usr/share/applications/com-tw93-weread.desktop": "assets/com-tw93-weread.desktop"
|
"/usr/share/applications/com-pake-weread.desktop": "assets/com-pake-weread.desktop"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
externalBin: [
|
externalBin: [
|
||||||
@@ -617,8 +617,8 @@ class BaseBuilder {
|
|||||||
const tauriTargetPath = path.join(tauriSrcPath, 'target');
|
const tauriTargetPath = path.join(tauriSrcPath, 'target');
|
||||||
const tauriTargetPathExists = await fsExtra.pathExists(tauriTargetPath);
|
const tauriTargetPathExists = await fsExtra.pathExists(tauriTargetPath);
|
||||||
if (!IS_MAC && !tauriTargetPathExists) {
|
if (!IS_MAC && !tauriTargetPathExists) {
|
||||||
logger.info('✺ The first use requires installing system dependencies.');
|
logger.warn('✼ The first use requires installing system dependencies.');
|
||||||
logger.info('✺ See more in https://tauri.app/v1/guides/getting-started/prerequisites.');
|
logger.warn('✼ See more in https://tauri.app/v1/guides/getting-started/prerequisites.');
|
||||||
}
|
}
|
||||||
if (!checkRustInstalled()) {
|
if (!checkRustInstalled()) {
|
||||||
const res = await prompts({
|
const res = await prompts({
|
||||||
@@ -662,7 +662,7 @@ class BaseBuilder {
|
|||||||
// Build app
|
// Build app
|
||||||
const spinner = getSpinner('Building app...');
|
const spinner = getSpinner('Building app...');
|
||||||
setTimeout(() => spinner.stop(), 3000);
|
setTimeout(() => spinner.stop(), 3000);
|
||||||
await shellExec(`cd ${npmDirectory} && ${this.getBuildCommand()}`);
|
await shellExec(`cd "${npmDirectory}" && ${this.getBuildCommand()}`);
|
||||||
// Copy app
|
// Copy app
|
||||||
const fileName = this.getFileName();
|
const fileName = this.getFileName();
|
||||||
const fileType = this.getFileType(target);
|
const fileType = this.getFileType(target);
|
||||||
@@ -786,7 +786,7 @@ const DEFAULT_PAKE_OPTIONS = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
async function checkUpdateTips() {
|
async function checkUpdateTips() {
|
||||||
updateNotifier({ pkg: packageJson, updateCheckInterval: 1000 * 60 }).notify();
|
updateNotifier({ pkg: packageJson, updateCheckInterval: 1000 * 60 }).notify({ isGlobal: true });
|
||||||
}
|
}
|
||||||
|
|
||||||
async function handleIcon(options) {
|
async function handleIcon(options) {
|
||||||
@@ -939,9 +939,16 @@ function validateUrlInput(url) {
|
|||||||
return url;
|
return url;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const { green, yellow } = chalk;
|
||||||
|
const logo = `${chalk.green(' ____ _')}
|
||||||
|
${green('| _ \\ __ _| | _____')}
|
||||||
|
${green('| |_) / _` | |/ / _ \\')}
|
||||||
|
${green('| __/ (_| | < __/')} ${yellow('https://github.com/tw93/pake')}
|
||||||
|
${green('|_| \\__,_|_|\\_\\___| can turn any webpage into a desktop app with Rust.')}
|
||||||
|
`;
|
||||||
program
|
program
|
||||||
.description(chalk.green('Pake can turn any webpage into a desktop app with Rust.'))
|
.addHelpText('beforeAll', logo)
|
||||||
.usage('[url] [options]')
|
.usage(`[url] [options]`)
|
||||||
.showHelpAfterError();
|
.showHelpAfterError();
|
||||||
program
|
program
|
||||||
.argument('[url]', 'The web URL you want to package', validateUrlInput)
|
.argument('[url]', 'The web URL you want to package', validateUrlInput)
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "pake-cli",
|
"name": "pake-cli",
|
||||||
"version": "2.1.8",
|
"version": "2.1.12",
|
||||||
"description": "🤱🏻 Turn any webpage into a desktop app with Rust. 🤱🏻 很简单的用 Rust 打包网页生成很小的桌面 App。",
|
"description": "🤱🏻 Turn any webpage into a desktop app with Rust. 🤱🏻 很简单的用 Rust 打包网页生成很小的桌面 App。",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=16.0.0"
|
"node": ">=16.0.0"
|
||||||
|
|||||||
2
script/build.ps1
vendored
2
script/build.ps1
vendored
@@ -24,7 +24,7 @@ $PSVersionTable
|
|||||||
Write-Host "=======================`n"
|
Write-Host "=======================`n"
|
||||||
|
|
||||||
|
|
||||||
$identifier_prefix = "com.tw93"
|
$identifier_prefix = "com.pake"
|
||||||
|
|
||||||
# total package number
|
# total package number
|
||||||
$index = 1
|
$index = 1
|
||||||
|
|||||||
6
script/build.sh
vendored
6
script/build.sh
vendored
@@ -32,10 +32,8 @@ total=$(sed -n '$=' app.csv)
|
|||||||
export total=$((total-1))
|
export total=$((total-1))
|
||||||
export index=1
|
export index=1
|
||||||
|
|
||||||
export package_prefix="com-tw93"
|
export package_prefix="com-pake"
|
||||||
export identifier_prefix="com.tw93"
|
export identifier_prefix="com.pake"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if [[ "$OSTYPE" =~ ^linux ]]; then
|
if [[ "$OSTYPE" =~ ^linux ]]; then
|
||||||
echo "==============="
|
echo "==============="
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Encoding=UTF-8
|
Encoding=UTF-8
|
||||||
Categories=Office
|
Categories=Office
|
||||||
Exec=com-tw93-weread
|
Exec=com-pake-weread
|
||||||
Icon=com-tw93-weread
|
Icon=com-pake-weread
|
||||||
Name=com-tw93-weread
|
Name=com-pake-weread
|
||||||
Name[zh_CN]=微信阅读
|
Name[zh_CN]=微信阅读
|
||||||
StartupNotify=true
|
StartupNotify=true
|
||||||
Terminal=false
|
Terminal=false
|
||||||
Type=Application
|
Type=Application
|
||||||
|
|||||||
BIN
src-tauri/icons/figma.icns
Normal file
BIN
src-tauri/icons/figma.icns
Normal file
Binary file not shown.
@@ -2,14 +2,14 @@
|
|||||||
"tauri": {
|
"tauri": {
|
||||||
"bundle": {
|
"bundle": {
|
||||||
"icon": ["png/weread_512.png"],
|
"icon": ["png/weread_512.png"],
|
||||||
"identifier": "com.tw93.weread",
|
"identifier": "com.pake.weread",
|
||||||
"active": true,
|
"active": true,
|
||||||
"category": "DeveloperTool",
|
"category": "DeveloperTool",
|
||||||
"copyright": "",
|
"copyright": "",
|
||||||
"deb": {
|
"deb": {
|
||||||
"depends": ["curl", "wget"],
|
"depends": ["curl", "wget"],
|
||||||
"files": {
|
"files": {
|
||||||
"/usr/share/applications/com-tw93-weread.desktop": "assets/com-tw93-weread.desktop"
|
"/usr/share/applications/com-pake-weread.desktop": "assets/com-pake-weread.desktop"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"externalBin": [],
|
"externalBin": [],
|
||||||
|
|||||||
@@ -1,29 +1,22 @@
|
|||||||
{
|
{
|
||||||
"tauri": {
|
"tauri": {
|
||||||
"bundle": {
|
"bundle": {
|
||||||
"icon": [
|
"icon": ["icons/weread.icns"],
|
||||||
"/Users/guyifeng/workspace/seeyon/Pake/src-tauri/icons/icon.icns"
|
"identifier": "com.pake.weread",
|
||||||
],
|
"active": true,
|
||||||
"identifier": "pake-4269dd",
|
"category": "DeveloperTool",
|
||||||
"active": true,
|
"copyright": "",
|
||||||
"category": "DeveloperTool",
|
"externalBin": [],
|
||||||
"copyright": "",
|
"longDescription": "",
|
||||||
"externalBin": [],
|
"macOS": {
|
||||||
"longDescription": "",
|
"entitlements": null,
|
||||||
"macOS": {
|
"exceptionDomain": "",
|
||||||
"entitlements": null,
|
"frameworks": [],
|
||||||
"exceptionDomain": "",
|
"providerShortName": null,
|
||||||
"frameworks": [],
|
"signingIdentity": null
|
||||||
"providerShortName": null,
|
},
|
||||||
"signingIdentity": null
|
"resources": [],
|
||||||
},
|
"shortDescription": "",
|
||||||
"resources": [
|
"targets": ["dmg"]
|
||||||
"icons/zbook.icns"
|
|
||||||
],
|
|
||||||
"shortDescription": "",
|
|
||||||
"targets": [
|
|
||||||
"dmg"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
"tauri": {
|
"tauri": {
|
||||||
"bundle": {
|
"bundle": {
|
||||||
"icon": ["png/weread_256.ico", "png/weread_32.ico"],
|
"icon": ["png/weread_256.ico", "png/weread_32.ico"],
|
||||||
"identifier": "com.tw93.weread",
|
"identifier": "com.pake.weread",
|
||||||
"active": true,
|
"active": true,
|
||||||
"category": "DeveloperTool",
|
"category": "DeveloperTool",
|
||||||
"copyright": "",
|
"copyright": "",
|
||||||
|
|||||||
Reference in New Issue
Block a user