summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--main.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/main.go b/main.go
index dfe208c..66d401f 100644
--- a/main.go
+++ b/main.go
@@ -40,6 +40,16 @@ func main() {
 }
 
 func initCetus() {
+	// We cannot use complex switches here so instead we unveil
+	// everything we need. This is bad but the other way will make
+	// the code too complex, we need a better structure for code.
+	// This also runs UnveilBlock, instead we could remove this
+	// unveil func & inline Unveil calls in other functions, this
+	// way we will only unveil when required.
+	//
+	// This method is still used because in earlier lynx version
+	// we had to manage build flags manually, so keeping
+	// everything in a single func made sense.
 	unveil()
 }