mirror of
https://github.com/rubickCenter/rubick
synced 2025-12-24 19:39:27 +08:00
bugfix: [48]; win应用搜索出现卸载应用问题。
ref: 优化rubick removeFeature API
This commit is contained in:
@@ -104,18 +104,10 @@ const touchBar = new TouchBar({
|
||||
]
|
||||
})
|
||||
|
||||
let intervalObj;
|
||||
|
||||
const start = (window) => {
|
||||
window.on('blur', () => {
|
||||
clearInterval(intervalObj);
|
||||
});
|
||||
window.on('focus', () => {
|
||||
intervalObj = setInterval(() => {
|
||||
updateData();
|
||||
}, 1000);
|
||||
updateData();
|
||||
});
|
||||
updateData();
|
||||
}
|
||||
|
||||
export default {
|
||||
|
||||
@@ -47,7 +47,7 @@ function fileDisplay(filePath){
|
||||
const appName = filename.split('.')[0];
|
||||
const keyWords = [appName];
|
||||
const appDetail = shell.readShortcutLink(filedir);
|
||||
if (!appDetail.target) return;
|
||||
if (!appDetail.target || appDetail.target.toLowerCase().indexOf('unin') >= 0) return;
|
||||
|
||||
if (isZhRegex.test(appName)) {
|
||||
const py = translate(appName);
|
||||
|
||||
Reference in New Issue
Block a user