Skip to content

Commit 7046bce

Browse files
authored
Merge pull request #689 from Kvan7:dev
v0.12.3
2 parents 7c62289 + 6c5db5e commit 7046bce

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+961
-693
lines changed

.github/ISSUE_TEMPLATE/bug-report.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,14 @@ body:
5959
label: Version
6060
description: What version of EE2 are you running? You can see this in Settings -> About
6161
options:
62+
- 0.12.3
6263
- 0.12.2
6364
- 0.12.1
6465
- 0.12.0
6566
- 0.11.x
6667
- 0.10.x
6768
- Change me
68-
default: 5
69+
default: 6
6970
validations:
7071
required: true
7172
- type: textarea

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# ![Perfect Jewelers Orb](./renderer/public/images/jeweler.png) Exiled Exchange 2
22

3-
![GitHub Downloads (specific asset, latest release)](https://img.shields.io/github/downloads/kvan7/exiled-exchange-2/latest/Exiled-Exchange-2-Setup-0.12.2.exe?style=plastic&link=https%3A%2F%2Ftooomm.github.io%2Fgithub-release-stats%2F%3Fusername%3Dkvan7%26repository%3DExiled-Exchange-2)
3+
![GitHub Downloads (specific asset, latest release)](https://img.shields.io/github/downloads/kvan7/exiled-exchange-2/latest/Exiled-Exchange-2-Setup-0.12.3.exe?style=plastic&link=https%3A%2F%2Ftooomm.github.io%2Fgithub-release-stats%2F%3Fusername%3Dkvan7%26repository%3DExiled-Exchange-2)
44
![GitHub Tag](https://img.shields.io/github/v/tag/kvan7/exiled-exchange-2?style=plastic&label=latest%20version)
55
![GitHub commits since latest release (branch)](https://img.shields.io/github/commits-since/kvan7/exiled-exchange-2/latest/dev?style=plastic)
66

docs/.vitepress/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default defineConfig({
2020
},
2121
themeConfig: {
2222
// logo: 'TODO', https://github.com/vuejs/vitepress/issues/1401
23-
appVersion: '0.12.2',
23+
appVersion: '0.12.3',
2424
github: {
2525
releasesUrl: 'https://github.com/Kvan7/Exiled-Exchange-2/releases'
2626
},

exiled-exchange-2.code-workspace

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,21 +39,44 @@
3939
"Update to 2"
4040
],
4141
"cSpell.words": [
42+
"activegem",
4243
"Atzoatl",
44+
"azmeri",
45+
"Basetype",
4346
"corruptionjewel",
4447
"Defences",
4548
"DIVCARD",
4649
"divinable",
4750
"edps",
51+
"exiledexchange",
52+
"heistequipment",
53+
"heistmission",
54+
"heistreward",
55+
"heisttool",
56+
"heistutility",
57+
"heistweapon",
4858
"ilvl",
59+
"Invictus",
4960
"Kalandra",
61+
"keybind",
5062
"keybinds",
5163
"Knockback",
64+
"metagem",
65+
"Morior",
5266
"nonunique",
67+
"oneaxe",
68+
"onemace",
69+
"onesword",
5370
"onlineleague",
5471
"pdps",
72+
"Poeninja",
73+
"runedagger",
5574
"stormcloud's",
75+
"supportgem",
5676
"Synthesised",
77+
"twoaxe",
78+
"twomace",
79+
"twosword",
5780
"uniquefoil",
5881
"uniquejewel",
5982
"vitepress",

main/electron-builder.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ files:
1212
extraMetadata:
1313
main: "main.js"
1414
nsis:
15-
oneClick: true
15+
oneClick: false
16+
allowToChangeInstallationDirectory: true
1617
win:
1718
target:
1819
- "nsis"

main/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

main/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "exiled-exchange-2",
3-
"version": "0.12.2",
3+
"version": "0.12.3",
44
"private": true,
55
"scripts": {
66
"dev": "node build/script.mjs",

main/src/windowing/OverlayWindow.ts

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export class OverlayWindow {
3333

3434
if (process.argv.includes("--no-overlay")) return;
3535

36-
this.window = new BrowserWindow({
36+
const windowOpts: Electron.BrowserWindowConstructorOptions = {
3737
icon: path.join(__dirname, process.env.STATIC!, "icon.png"),
3838
...OVERLAY_WINDOW_OPTS,
3939
width: 800,
@@ -43,7 +43,16 @@ export class OverlayWindow {
4343
webviewTag: true,
4444
spellcheck: false,
4545
},
46-
});
46+
};
47+
48+
// Linux/X11: Special window configuration
49+
if (process.platform === "linux") {
50+
windowOpts.skipTaskbar = true;
51+
windowOpts.focusable = true;
52+
windowOpts.type = "notification"; // Best balance of focus handling and stability
53+
}
54+
55+
this.window = new BrowserWindow(windowOpts);
4756

4857
this.window.setMenu(
4958
Menu.buildFromTemplate([
@@ -63,6 +72,12 @@ export class OverlayWindow {
6372

6473
this.window.webContents.setWindowOpenHandler((details) => {
6574
shell.openExternal(details.url);
75+
// Linux: Return focus to game after external link
76+
if (process.platform === "linux") {
77+
setTimeout(() => {
78+
OverlayController.focusTarget();
79+
}, 100);
80+
}
6681
return { action: "deny" };
6782
});
6883
}
@@ -87,6 +102,11 @@ export class OverlayWindow {
87102
assertOverlayActive = () => {
88103
if (!this.isInteractable) {
89104
this.isInteractable = true;
105+
// Linux needs explicit focus management
106+
if (process.platform === "linux" && this.window) {
107+
this.window.setFocusable(true);
108+
this.window.focus();
109+
}
90110
OverlayController.activateOverlay();
91111
this.poeWindow.isActive = false;
92112
}
@@ -95,6 +115,10 @@ export class OverlayWindow {
95115
assertGameActive = () => {
96116
if (this.isInteractable) {
97117
this.isInteractable = false;
118+
// Linux needs to release focus explicitly
119+
if (process.platform === "linux" && this.window) {
120+
this.window.setFocusable(false);
121+
}
98122
OverlayController.focusTarget();
99123
this.poeWindow.isActive = true;
100124
}

renderer/public/data/cmn-Hant/app_i18n.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,8 @@
145145
"weapon_crossbow": "十字弓",
146146
"weapon_spear": "長鋒",
147147
"weapon_flail": "鏈錘",
148-
"armour_buckler": "輕盾"
148+
"armour_buckler": "輕盾",
149+
"map_tablet": "Tablet"
149150
},
150151
"filters": {
151152
"selected_some": "已選擇:{0}/{1},屬性",
@@ -306,6 +307,7 @@
306307
"matched": "匹配:{0}",
307308
"trade": "交易",
308309
"price": "價格",
310+
"normalized": "N-Price",
309311
"bulk": "批量",
310312
"stock": "庫存",
311313
"fulfill": "組數",

renderer/public/data/cmn-Hant/client_strings.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export default {
6464
HEIST_BLUEPRINT_GEMS: '不尋常寶石',
6565
HEIST_BLUEPRINT_REPLICAS: '贗品或實驗性物品',
6666
MIRRORED: '已複製',
67-
MODIFIER_LINE: /^(?<type>[^"]+)(?:\s+"(?<name>[^"]+)")?(?:\s*\((?<tier>\d+)\))?(?:\s*\((?<rank>\d+)\))?$/,
67+
MODIFIER_LINE: /^(?<type>[^"]+)(?:\s+"(?<name>[^"]*)")?(?:\s*\((?<tier>\d+)\))?(?:\s*\((?<rank>\d+)\))?$/,
6868
PREFIX_MODIFIER: '前綴',
6969
SUFFIX_MODIFIER: '後綴',
7070
CRAFTED_PREFIX: '大師工藝前綴',
@@ -126,5 +126,6 @@ export default {
126126
GRANTS_SKILL: '賦予技能: ',
127127
RELOAD_SPEED: '重新裝填時間: ',
128128
FRACTURED_ITEM: '破裂之物',
129-
SANCTIFIED: '聖化的'
129+
SANCTIFIED: '聖化的',
130+
HYPHEN: '到'
130131
}

0 commit comments

Comments
 (0)