Compare commits
3 Commits
notion-cal
...
fnOS
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8234ec7e8d | ||
|
|
5ca6dc860b | ||
|
|
3e3bfcf42e |
BIN
src-tauri/icons/fnos.icns
vendored
Normal file
BIN
src-tauri/icons/weread.icns
vendored
2
src-tauri/pake.json
vendored
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"windows": [
|
"windows": [
|
||||||
{
|
{
|
||||||
"url": "https://weread.qq.com/",
|
"url": "https://192.168.31.3:5667/",
|
||||||
"url_type": "web",
|
"url_type": "web",
|
||||||
"hide_title_bar": true,
|
"hide_title_bar": true,
|
||||||
"fullscreen": false,
|
"fullscreen": false,
|
||||||
|
|||||||
BIN
src-tauri/png/fnos_256.ico
vendored
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
src-tauri/png/fnos_32.ico
vendored
Normal file
|
After Width: | Height: | Size: 945 B |
BIN
src-tauri/png/fnos_512.png
vendored
Normal file
|
After Width: | Height: | Size: 39 KiB |
BIN
src-tauri/png/weread_256.ico
vendored
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 13 KiB |
BIN
src-tauri/png/weread_32.ico
vendored
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 803 B |
BIN
src-tauri/png/weread_512.png
vendored
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 38 KiB |
@@ -98,7 +98,7 @@ pub fn set_window(app: &mut App, config: &PakeConfig, tauri_config: &Config) ->
|
|||||||
#[cfg(all(not(target_os = "windows"), not(target_os = "macos")))]
|
#[cfg(all(not(target_os = "windows"), not(target_os = "macos")))]
|
||||||
let mut linux_browser_args = String::from("--disable-blink-features=AutomationControlled");
|
let mut linux_browser_args = String::from("--disable-blink-features=AutomationControlled");
|
||||||
|
|
||||||
if window_config.ignore_certificate_errors {
|
if !window_config.ignore_certificate_errors {
|
||||||
#[cfg(target_os = "windows")]
|
#[cfg(target_os = "windows")]
|
||||||
{
|
{
|
||||||
windows_browser_args.push_str(" --ignore-certificate-errors");
|
windows_browser_args.push_str(" --ignore-certificate-errors");
|
||||||
|
|||||||
6
src-tauri/tauri.conf.json
vendored
@@ -1,11 +1,11 @@
|
|||||||
{
|
{
|
||||||
"productName": "Weread",
|
"productName": "FnOS",
|
||||||
"identifier": "com.tencent.Weread",
|
"identifier": "com.feiniu.FnOS",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"app": {
|
"app": {
|
||||||
"withGlobalTauri": true,
|
"withGlobalTauri": true,
|
||||||
"trayIcon": {
|
"trayIcon": {
|
||||||
"iconPath": "png/weread_512.png",
|
"iconPath": "png/fnos_512.png",
|
||||||
"iconAsTemplate": false,
|
"iconAsTemplate": false,
|
||||||
"id": "pake-tray"
|
"id": "pake-tray"
|
||||||
},
|
},
|
||||||
|
|||||||
4
src-tauri/tauri.linux.conf.json
vendored
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"productName": "wechat",
|
"productName": "fnos",
|
||||||
"bundle": {
|
"bundle": {
|
||||||
"icon": ["png/wechat_512.png"],
|
"icon": ["png/fnos_512.png"],
|
||||||
"active": true,
|
"active": true,
|
||||||
"linux": {
|
"linux": {
|
||||||
"deb": {
|
"deb": {
|
||||||
|
|||||||
2
src-tauri/tauri.macos.conf.json
vendored
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"bundle": {
|
"bundle": {
|
||||||
"icon": ["icons/weread.icns"],
|
"icon": ["icons/fnos.icns"],
|
||||||
"active": true,
|
"active": true,
|
||||||
"targets": ["dmg"]
|
"targets": ["dmg"]
|
||||||
}
|
}
|
||||||
|
|||||||
4
src-tauri/tauri.windows.conf.json
vendored
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"bundle": {
|
"bundle": {
|
||||||
"icon": ["png/weread_256.ico", "png/weread_32.ico"],
|
"icon": ["png/fnos_256.ico", "png/fnos_32.ico"],
|
||||||
"active": true,
|
"active": true,
|
||||||
"resources": ["png/weread_32.ico"],
|
"resources": ["png/fnos_32.ico"],
|
||||||
"targets": ["msi"],
|
"targets": ["msi"],
|
||||||
"windows": {
|
"windows": {
|
||||||
"digestAlgorithm": "sha256",
|
"digestAlgorithm": "sha256",
|
||||||
|
|||||||