feat(showcase): add settings to set the position of the operator logo

This commit is contained in:
Haoyu Xu
2023-02-05 21:30:53 -05:00
parent 17ec651549
commit 45bec9a8f6
7 changed files with 161 additions and 11 deletions

View File

@@ -1,3 +1,6 @@
import path from 'path'
import { readSync } from "./file.js"
export default class Matcher {
#start
#end
@@ -48,6 +51,10 @@ class Evalable {
return this.#step(location, varName)
}
version(prefix, suffix) {
return `${prefix}${readSync(path.join(__dirname, 'Version'))}${suffix}`
}
#step(location, varName) {
let content = this.#config
varName.split("->").forEach((item) => {