PCompiler icon indicating copy to clipboard operation
PCompiler copied to clipboard

How to replace files?

Open Bluscream opened this issue 5 years ago • 2 comments

I tried:

[MIN_ENGINE_VER]
1

[AUTHOR]
Bluscream

[PACKAGE]
com.teamspeak.ts3client


# Remove original entry
[ADD_FILES]
SOURCE:
    teaspeak.zip
TARGET:
    /
EXTRACT:
	true
[/ADD_FILES]

[MATCH_REPLACE]
TARGET:
	AndroidManifest.xml
MATCH:
REGEX:
	false
REPLACE:
[/MATCH_REPLACE]

But it errors out with "File already exists"

Bluscream avatar Nov 10 '18 19:11 Bluscream

Duplicate of #

02629524272 avatar Feb 20 '20 05:02 02629524272

I tried:

[MIN_ENGINE_VER]
1

[AUTHOR]
Bluscream

[PACKAGE]
com.teamspeak.ts3client


# Remove original entry
[ADD_FILES]
SOURCE:
    teaspeak.zip
TARGET:
    /
EXTRACT:
	true
[/ADD_FILES]

[MATCH_REPLACE]
TARGET:
	AndroidManifest.xml
MATCH:
REGEX:
	false
REPLACE:
[/MATCH_REPLACE]

But it errors out with "File already exists"

02629524272 avatar Feb 20 '20 05:02 02629524272