Skip to content

Commit

Permalink
Oh
Browse files Browse the repository at this point in the history
  • Loading branch information
kinsi55 committed Jul 16, 2022
1 parent 52e90df commit 69b0aeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ private void applyButton_Click(object sender, EventArgs e) {
if(checkBox1.Checked)
SetKv(ref acf, "AutoUpdateBehavior", "1");

acf = Regex.Replace(acf, "(\"" + AppInfo.DEPOT_ID + "\".*?\"manifest\"\\s*?)\"[0-9]{19}\"", $"$1\"{textbox_manifest.Text}\"", RegexOptions.Singleline | RegexOptions.IgnoreCase);
acf = Regex.Replace(acf, "(\"" + AppInfo.DEPOT_ID + "\".*?\"manifest\"\\s*?)\"[0-9]{16,19}\"", $"$1\"{textbox_manifest.Text}\"", RegexOptions.Singleline | RegexOptions.IgnoreCase);

File.WriteAllText(p, acf);

Expand Down

0 comments on commit 69b0aeb

Please sign in to comment.