久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

您如何覆蓋或刪除簽名“electron.app.Electron"?從

how can you overwrite or remove the signature quot;electron.app.Electronquot; from the desktop notification(您如何覆蓋或刪除簽名“electron.app.Electron?從桌面通知)
本文介紹了您如何覆蓋或刪除簽名“electron.app.Electron"?從桌面通知的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

我正在嘗試刪除或覆蓋我由電子制作的通知簽名.

I'm trying to remove or overwrite my notification signature made by electron.

這是我得到的:

here is what i get:

我正在嘗試是否覆蓋簽名 electron.app.Electron 或完全刪除它,通過知道我已經在測試模式 (npm run start) 以及打包為 .exe 時對其進行了測試我也注意到我刪除了簽名的圖標,但是沒有一個會很不愉快.

I am trying to whether overwrite the signature electron.app.Electron or remove it completely, by knowing that I have tested it on test mode (npm run start), and also when packed as .exe also I have noticed that I remove the icon the signature goes a way, but it is very unpleasant without one.

我當前的通知代碼如下:

my current notification code is bellow:

function showNotification() {
  const notification = new Notification("new message", {
    body: "app launched",
    icon: __dirname + '/icon.ico',
    tag: 'soManyNotification',
    hasReply: true
  })
}
console.log(Notification.permission)
if (Notification.permission === "granted") {
  showNotification()
  //alert('we have permission');
} else if (Notification.permission === "denied") {
  Notification.requestPermission()
};

任何幫助將不勝感激^^

any help would be gratefully appreciated ^^

推薦答案

// If this is running on Windows then set UserModelID for notification

if (isWin()) {
    app.setAppUserModelId("Proper name to be replaced");
}

這篇關于您如何覆蓋或刪除簽名“electron.app.Electron"?從桌面通知的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

相關文檔推薦

How to fix BrowserWindow is not a constructor error when creating child window in Electron renderer process(在 Electron 渲染器進程中創建子窗口時如何修復 BrowserWindow 不是構造函數錯誤) - IT屋-程序員軟件開發技術
mainWindow.loadURL(quot;https://localhost:3000/quot;) show white screen on Electron app(mainWindow.loadURL(https://localhost:3000/) 在 Electron 應用程序上顯示白屏)
Electron webContents executeJavaScript : Cannot execute script on second on loadURL(Electron webContents executeJavaScript:無法在第二個 loadURL 上執行腳本)
how to use electron browser window inside components in angular-cli?(如何在angular-cli的組件內使用電子瀏覽器窗口?)
ElectronJS - sharing redux store between windows?(ElectronJS - 在 Windows 之間共享 redux 存儲?)
How to access camera/webcamera inside electron app?(如何在電子應用程序中訪問相機/網絡攝像頭?)
主站蜘蛛池模板: 日韩免费1区二区电影 | 久久久久国产一级毛片高清网站 | 国产精品视频网 | 日本特黄a级高清免费大片 成年人黄色小视频 | 91在线免费观看网站 | 久久精品亚洲一区 | 欧美黄色小视频 | 久久久青草婷婷精品综合日韩 | 中文字幕二区 | 日韩电影在线 | 国产精品久久久久久久岛一牛影视 | 国产精品激情小视频 | 日韩视频在线一区 | 国产一区不卡 | 精品一区二区三区四区外站 | 婷婷福利 | 亚洲精品v日韩精品 | 一区二区高清 | 国产精品区一区二 | 国产欧美精品区一区二区三区 | 久久精品一区二 | 国产精品福利视频 | 亚洲欧洲一区 | 男人天堂网av | 色综合久久久 | 久久久久久一区 | 黄色男女网站 | 午夜伊人 | 男女视频在线观看网站 | 亚洲大片一区 | 91免费观看在线 | 亚洲午夜精品在线观看 | 亚洲精品无 | 久久午夜国产精品www忘忧草 | 在线国产一区 | 国产精品99精品久久免费 | 欧美精品在线免费观看 | 精品在线一区二区 | 精品久久久精品 | 无码一区二区三区视频 | 98成人网|