Skip to content

Commit 37b97ea

Browse files
author
Roy van de Water
committed
v3.0.0 Back to seamless
1 parent a071eee commit 37b97ea

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

lib/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -323,10 +323,10 @@ class StoreFrontICAGenerator {
323323
}
324324

325325
modifyICA(icaContents) {
326-
// icaContents = replace('TWIMode=Off', 'TWIMode=Off\nTWIIgnoreWorkArea=0', icaContents)
326+
const enableTWIMode = replace('TWIMode=Off', join("\n", ['TWIMode=On', 'TWIIgnoreWorkArea=1']))
327327
icaContents = this.addSectionToICA('[Thinwire 3.0]', ['TWIFullScreenMode=1'], icaContents)
328-
// icaContents = this.addSectionToICA('[WFClient]', ['TWISeamlessFlag=0'], icaContents)
329-
return icaContents
328+
icaContents = this.addSectionToICA('[WFClient]', ['TWISeamlessFlag=1'], icaContents)
329+
return enableTWIMode(icaContents)
330330
}
331331

332332
addSectionToICA(title, settings, content) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "storefront-ica-generator",
3-
"version": "3.0.3",
3+
"version": "3.0.0",
44
"description": "StoreFront ICA Generator",
55
"homepage": "https://github.com/octoblu/storefront-ica-generator",
66
"bugs": "https://github.com/octoblu/storefront-ica-generator/issues",

test/fixtures/example.modified.ica

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
InputEncoding=UTF8
33

44
[WFClient]
5+
TWISeamlessFlag=1
56
ProxyFavorIEConnectionSetting=Yes
67
ProxyTimeout=30000
78
ProxyType=Auto
@@ -48,7 +49,8 @@ startSCD=1584005044086
4849
Title=Some XenDesktop Name
4950
TransportDriver=TCP/IP
5051
TRWD=0
51-
TWIMode=Off
52+
TWIMode=On
53+
TWIIgnoreWorkArea=1
5254
WebSocketPort=8008
5355
WinStationDriver=ICA 3.0
5456

0 commit comments

Comments
 (0)