Skip to content

Commit 80783c5

Browse files
committed
feat: add apply note
1 parent 8d90004 commit 80783c5

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "default",
3-
"version": "1.10.0-beta.1",
3+
"version": "1.10.0-beta.3",
44
"description": "Default plugin for Codify - provides 50+ declarative resources for managing development tools and system configuration across macOS and Linux",
55
"main": "dist/index.js",
66
"scripts": {

src/resources/rust/rust-resource.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
import {
2+
ApplyNotes,
3+
CodifyCliSender,
24
ExampleConfig,
35
getPty,
46
Resource,
@@ -82,10 +84,14 @@ export class RustResource extends Resource<RustConfig> {
8284
"curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y",
8385
{ interactive: true }
8486
);
87+
88+
CodifyCliSender.sendApplyNote(ApplyNotes.NEW_SHELL_REQUIRED);
8589
}
8690

8791
async destroy(): Promise<void> {
8892
const $ = getPty();
8993
await $.spawn('rustup self uninstall -y', { interactive: true });
94+
95+
CodifyCliSender.sendApplyNote(ApplyNotes.NEW_SHELL_REQUIRED);
9096
}
9197
}

0 commit comments

Comments
 (0)