Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Commit

Permalink
[Entry] Make 'freeze' and 'seal' do nothing (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
pylixonly authored Oct 4, 2023
1 parent d539e5a commit 2cc1f8d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/entry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ import { ClientInfoManager } from "@lib/native";
// This logs in the native logging implementation, e.g. logcat
console.log("Hello from Vendetta!");

// Make 'freeze' and 'seal' do nothing
Object.freeze = Object;
Object.seal = Object;

import(".").then((m) => m.default()).catch((e) => {
console.log(e?.stack ?? e.toString());
alert([
Expand Down

0 comments on commit 2cc1f8d

Please sign in to comment.