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

Add user custom init script feature #8

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

9Ninety
Copy link
Contributor

@9Ninety 9Ninety commented Feb 17, 2020

No description provided.

@9Ninety 9Ninety requested a review from vilicvane February 20, 2020 10:37
const {projects} = require('/root/workspace/metadata.json');
const {
projects,
customizeInitScript,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

customInitScript


if (customizeInitScript) {
let scriptPath = `/root/workspace/customize-init-script.sh`;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

custom-init-script.sh

/**
* Save customize init script, set to empty or null to delete
*/
export function saveCustomizeInitScript(content: string): void {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

custom

this.toShowCustomizeModal = false;
};

@action
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

在里面 runInAction, 或者要不不加,好像这个项目里其他地方没加

@9Ninety 9Ninety force-pushed the feature/user_customize_init_script branch 2 times, most recently from 6656aef to 09d53e5 Compare June 16, 2020 07:54
@9Ninety 9Ninety force-pushed the feature/user_customize_init_script branch from 09d53e5 to 7e2cf89 Compare June 16, 2020 08:05
@9Ninety 9Ninety requested a review from vilicvane June 16, 2020 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants