Skip to content

Commit

Permalink
0.9.3
Browse files Browse the repository at this point in the history
  • Loading branch information
yofukashino committed Jun 3, 2023
1 parent 1061b6e commit 9a39259
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 15 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Direct Download Link: [dev.tharki.Address.asar](https://github.com/Tharki-God/Ad
Install Link:


[![Install in Replugged](https://img.shields.io/badge/-Install%20in%20Replugged-blue?style=for-the-badge&logo=none)](https://replugged.dev/install?identifier=Tharki-God/Address&source=github)
[![Install in Replugged](https://img.shields.io/badge/-Install%20in%20Replugged-blue?style=for-the-badge&logo=none)](https://replugged.dev/install?identifier=dev.tharki.Address)

![image](https://tharki-god.github.io/files-random-host/bdpluginsassets/address.png)

Expand Down
6 changes: 3 additions & 3 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
"discordID": "1025214794766221384",
"github": "Tharki-God"
},
"version": "0.9.2",
"version": "0.9.3",
"updater": {
"type": "github",
"id": "Tharki-God/Address"
"type": "store",
"id": "dev.tharki.Address"
},
"license": "MIT",
"type": "replugged-plugin",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "address",
"version": "0.9.2",
"version": "0.9.3",
"description": "Get an option to copy the current web address by right clicking on the home button.",
"engines": {
"node": ">=14.0.0"
Expand Down Expand Up @@ -30,7 +30,7 @@
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-react": "^7.31.10",
"prettier": "^2.8.1",
"replugged": "^4.2.6",
"replugged": "^4.3.0",
"typescript": "^4.8.4"
}
}
24 changes: 20 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions src/lib/requiredModules.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
import { webpack } from "replugged";
import * as Types from "../types";

export const DiscordNative = webpack.getByProps(
"clipboard",
"process",
) as unknown as Types.DiscordNative;
export const DiscordNative = webpack.getByProps<Types.DiscordNative>("clipboard", "process");
2 changes: 1 addition & 1 deletion src/plaintextPatches.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default [
find: "Messages.DISCODO_DISABLED",
replacements: [
{
match: /(className:.*\.[\w]+),(children.*"friends-list")/,
match: /(className:[\w$_]+\(\)\.[\w]+),(children.+?"friends-list")/,
replace: `$1,onContextMenu: HomeButtonContextMenuApi?.openContextMenu,$2`,
},
],
Expand Down

0 comments on commit 9a39259

Please # to comment.