add fnos
This commit is contained in:
BIN
src-tauri/icons/fnos.icns
vendored
Normal file
BIN
src-tauri/icons/fnos.icns
vendored
Normal file
Binary file not shown.
2
src-tauri/pake.json
vendored
2
src-tauri/pake.json
vendored
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"windows": [
|
||||
{
|
||||
"url": "https://weread.qq.com/",
|
||||
"url": "https://192.168.31.3:5667/",
|
||||
"url_type": "web",
|
||||
"hide_title_bar": true,
|
||||
"fullscreen": false,
|
||||
|
||||
BIN
src-tauri/png/fnos_256.ico
vendored
Normal file
BIN
src-tauri/png/fnos_256.ico
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
BIN
src-tauri/png/fnos_32.ico
vendored
Normal file
BIN
src-tauri/png/fnos_32.ico
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 945 B |
BIN
src-tauri/png/fnos_512.png
vendored
Normal file
BIN
src-tauri/png/fnos_512.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 39 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")))]
|
||||
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")]
|
||||
{
|
||||
windows_browser_args.push_str(" --ignore-certificate-errors");
|
||||
|
||||
6
src-tauri/tauri.conf.json
vendored
6
src-tauri/tauri.conf.json
vendored
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"productName": "Weread",
|
||||
"identifier": "com.tencent.Weread",
|
||||
"productName": "FnOS",
|
||||
"identifier": "com.feiniu.FnOS",
|
||||
"version": "1.0.0",
|
||||
"app": {
|
||||
"withGlobalTauri": true,
|
||||
"trayIcon": {
|
||||
"iconPath": "png/weread_512.png",
|
||||
"iconPath": "png/fnos_512.png",
|
||||
"iconAsTemplate": false,
|
||||
"id": "pake-tray"
|
||||
},
|
||||
|
||||
4
src-tauri/tauri.linux.conf.json
vendored
4
src-tauri/tauri.linux.conf.json
vendored
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"productName": "wechat",
|
||||
"productName": "fnos",
|
||||
"bundle": {
|
||||
"icon": ["png/weread_512.png"],
|
||||
"icon": ["png/fnos_512.png"],
|
||||
"active": true,
|
||||
"linux": {
|
||||
"deb": {
|
||||
|
||||
2
src-tauri/tauri.macos.conf.json
vendored
2
src-tauri/tauri.macos.conf.json
vendored
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"bundle": {
|
||||
"icon": ["icons/weread.icns"],
|
||||
"icon": ["icons/fnos.icns"],
|
||||
"active": true,
|
||||
"targets": ["dmg"]
|
||||
}
|
||||
|
||||
4
src-tauri/tauri.windows.conf.json
vendored
4
src-tauri/tauri.windows.conf.json
vendored
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"bundle": {
|
||||
"icon": ["png/weread_256.ico", "png/weread_32.ico"],
|
||||
"icon": ["png/fnos_256.ico", "png/fnos_32.ico"],
|
||||
"active": true,
|
||||
"resources": ["png/weread_32.ico"],
|
||||
"resources": ["png/fnos_32.ico"],
|
||||
"targets": ["msi"],
|
||||
"windows": {
|
||||
"digestAlgorithm": "sha256",
|
||||
|
||||
Reference in New Issue
Block a user