Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change publisher to Cyfrin #10

Merged
merged 2 commits into from
Feb 25, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ pretty:
test:
npm run test

package:
package: install compile
npm run vscode:package

# Default help command
Expand Down
4 changes: 1 addition & 3 deletions generate_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ fi
VERSION=$1

# Create the vsix package
npm install
npm run compile
npm run vscode:package
make package

# Find the `.vsix` file (adjust to your actual file path or naming convention)
VSIX_FILE=$(ls *.vsix | head -n 1)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"major": 0,
"minor": 4
},
"publisher": "cyfrinio",
"publisher": "cyfrin",
"repository": {
"type": "git",
"url": "https://github.com/cyfrin/vscode-aderyn"
Expand Down
5 changes: 1 addition & 4 deletions src/commands/actions/open-settings.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
import * as vscode from 'vscode';

function action() {
vscode.commands.executeCommand(
'workbench.action.openSettings',
'@ext:cyfrinio.aderyn',
);
vscode.commands.executeCommand('workbench.action.openSettings', '@ext:cyfrin.aderyn');
}

export { action };
4 changes: 2 additions & 2 deletions src/utils/metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ type ExtensionInfoError = {
async function readPackageJson(logger: Logger): Promise<ExtensionInfo> {
try {
const extensionPath =
vscode.extensions.getExtension('cyfrinio.aderyn')?.extensionPath;
vscode.extensions.getExtension('cyfrin.aderyn')?.extensionPath;
if (!extensionPath) {
logger.err('Extension path not found');
const E: ExtensionInfoError = {
Expand All @@ -77,7 +77,7 @@ async function readPackageJson(logger: Logger): Promise<ExtensionInfo> {
async function readAderynConfigTemplate(logger: Logger): Promise<string> {
try {
const extensionPath =
vscode.extensions.getExtension('cyfrinio.aderyn')?.extensionPath;
vscode.extensions.getExtension('cyfrin.aderyn')?.extensionPath;
if (!extensionPath) {
logger.err('Extension path not found');
const E: ExtensionInfoError = {
Expand Down