Electron 13.
Deleting drop-in mods seems to be broken. If you're having this issue, please comment on this issue so electron fixes it.. https://github.com/electron/electron/issues/29598
This commit is contained in:
@@ -687,9 +687,9 @@ function resolveDropinModsForUI(){
|
||||
function bindDropinModsRemoveButton(){
|
||||
const sEls = settingsModsContainer.querySelectorAll('[remmod]')
|
||||
Array.from(sEls).map((v, index, arr) => {
|
||||
v.onclick = () => {
|
||||
v.onclick = async () => {
|
||||
const fullName = v.getAttribute('remmod')
|
||||
const res = DropinModUtil.deleteDropinMod(CACHE_SETTINGS_MODS_DIR, fullName)
|
||||
const res = await DropinModUtil.deleteDropinMod(CACHE_SETTINGS_MODS_DIR, fullName)
|
||||
if(res){
|
||||
document.getElementById(fullName).remove()
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user