Skip to content

Commit

Permalink
24.7.28 Some fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tablacus committed Jul 28, 2024
1 parent 4939aca commit e64b21a
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions Debug/script/sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ g_.Notify = {};

AboutTE = function (n) {
if (n == 0) {
return te.Version < 20240616 ? te.Version : 20240621;
return te.Version < 20240616 ? te.Version : 20240728;
}
if (n == 1) {
const v = AboutTE(0);
Expand Down Expand Up @@ -3736,9 +3736,15 @@ FolderMenu = {
}
},

Invoke: function (FolderItem, wFlags, FV) {
if (FolderItem) {
const path = api.GetDisplayNameOf(FolderItem, SHGDN_FORADDRESSBAR | SHGDN_FORPARSING);
Invoke: function (path, wFlags, FV) {
if (path) {
let FolderItem;
if ("string" === typeof path) {
FolderItem = api.ILCreateFromPath(path);
} else {
FolderItem = path;
path = api.GetDisplayNameOf(FolderItem, SHGDN_FORADDRESSBAR | SHGDN_FORPARSING);
}
const bVirtual = FolderItem.Unavailable || api.ILIsParent(1, FolderItem, false);
if (MainWindow.g_menu_button == 2 || /popup/i.test(wFlags)) {
const pt = api.GetCursorPos();
Expand Down

0 comments on commit e64b21a

Please sign in to comment.